Skip to content

Commit ac447c9

Browse files
committed
ref(*): disable pip version check and caching
The constant reminders that pip has a new version are not helpful to our build process, and some python libraries were being inadvertently cached at /root/.cache/ inside Docker images.
1 parent 2a4c5f3 commit ac447c9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ test: test-unit test-functional
6969

7070
setup-venv:
7171
@if [ ! -d venv ]; then virtualenv venv; fi
72-
venv/bin/pip install -q -r requirements.txt -r dev_requirements.txt
72+
venv/bin/pip install --disable-pip-version-check -q -r requirements.txt -r dev_requirements.txt
7373

7474
test-style: setup-venv
7575
venv/bin/flake8

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ mkdir -p /app && chown -R deis:deis /app
3636
mkdir -p /templates && chown -R deis:deis /templates
3737

3838
# install dependencies
39-
pip install -r /app/requirements.txt
39+
pip install --disable-pip-version-check --no-cache-dir -r /app/requirements.txt
4040

4141
# cleanup.
4242
apk del --purge \

0 commit comments

Comments
 (0)