Browse Source

ref(build): Set PIP_NO_CACHE_DIR to 1 instead of off (#26502)

Armen Zambrano G 3 years ago
parent
commit
08e6af1823
2 changed files with 2 additions and 2 deletions
  1. 1 1
      docker/Dockerfile
  2. 1 1
      docker/builder.dockerfile

+ 1 - 1
docker/Dockerfile

@@ -35,7 +35,7 @@ RUN set -x \
 
 # Sane defaults for pip
 ENV \
-  PIP_NO_CACHE_DIR=off \
+  PIP_NO_CACHE_DIR=1 \
   PIP_DISABLE_PIP_VERSION_CHECK=1 \
   # Sentry config params
   SENTRY_CONF=/etc/sentry \

+ 1 - 1
docker/builder.dockerfile

@@ -8,7 +8,7 @@ LABEL org.opencontainers.image.vendor="Functional Software, Inc."
 LABEL org.opencontainers.image.authors="oss@sentry.io"
 
 # Sane defaults for pip
-ENV PIP_NO_CACHE_DIR=off \
+ENV PIP_NO_CACHE_DIR=1 \
   PIP_DISABLE_PIP_VERSION_CHECK=1
 
 RUN apt-get update && apt-get install -y --no-install-recommends \