aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2019-05-13 02:38:07 -0700
committerGravatar MarkKoz <[email protected]>2019-05-13 02:38:07 -0700
commitdb0892612ecb62d6e997b64df99c96e83d76d0fe (patch)
treee37f3e0bcb79fd77ea8fa7bfdfcef06c7f4c2b57 /docker
parentAlways build images if they do not exist (diff)
Disable pip cache
Diffstat (limited to 'docker')
-rw-r--r--docker/base.Dockerfile1
-rw-r--r--docker/venv.Dockerfile6
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