| ... | ... |
@@ -54,7 +54,7 @@ MYSQL_PRESEED |
| 54 | 54 |
sudo apt-get install -y -q `cat $DIR/apts/* | cut -d\# -f1` |
| 55 | 55 |
|
| 56 | 56 |
# install python requirements |
| 57 |
-sudo pip install `cat $DIR/pips/*` |
|
| 57 |
+sudo PIP_DOWNLOAD_CACHE=/var/cache/pip pip install `cat $DIR/pips/*` |
|
| 58 | 58 |
|
| 59 | 59 |
# git clone only if directory doesn't exist already |
| 60 | 60 |
function git_clone {
|