diff options
author | 2019-05-13 02:38:07 -0700 | |
---|---|---|
committer | 2019-05-13 02:38:07 -0700 | |
commit | db0892612ecb62d6e997b64df99c96e83d76d0fe (patch) | |
tree | e37f3e0bcb79fd77ea8fa7bfdfcef06c7f4c2b57 /docker | |
parent | Always build images if they do not exist (diff) |
Disable pip cache
Diffstat (limited to 'docker')
-rw-r--r-- | docker/base.Dockerfile | 1 | ||||
-rw-r--r-- | docker/venv.Dockerfile | 6 |
2 files changed, 5 insertions, 2 deletions
diff --git a/docker/base.Dockerfile b/docker/base.Dockerfile index 2883398..19fc1b8 100644 --- a/docker/base.Dockerfile +++ b/docker/base.Dockerfile @@ -15,6 +15,7 @@ WORKDIR /nsjail RUN make FROM python:3.7.3-alpine3.9 +ENV PIP_NO_CACHE_DIR=false RUN apk add --no-cache --update \ libnl3 \ libstdc++ \ diff --git a/docker/venv.Dockerfile b/docker/venv.Dockerfile index 9608d28..b3df2b7 100644 --- a/docker/venv.Dockerfile +++ b/docker/venv.Dockerfile @@ -1,8 +1,10 @@ FROM pythondiscord/snekbox-base:latest -ENV PIPENV_VENV_IN_PROJECT=1 \ +ENV PIP_NO_CACHE_DIR=false \ + PIPENV_DONT_USE_PYENV=1 \ + PIPENV_HIDE_EMOJIS=1 \ PIPENV_NOSPIN=1 \ - PIPENV_HIDE_EMOJIS=1 + PIPENV_VENV_IN_PROJECT=1 COPY Pipfile Pipfile.lock /snekbox/ WORKDIR /snekbox |