From 24f82964d4e25c4ad93e0aa03e9d550088caa97f Mon Sep 17 00:00:00 2001 From: Felix Bartels <1257835+fbartels@users.noreply.github.com> Date: Sat, 22 Feb 2020 10:21:51 +0100 Subject: [PATCH] pass --no-cache-dir to pip install (#340) Signed-off-by: Felix Bartels --- build/Dockerfile | 2 +- konnect/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/Dockerfile b/build/Dockerfile index a0881d0..7a489cb 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -25,7 +25,7 @@ RUN curl -fSL "https://github.com/genuinetools/reg/releases/download/v$REG_VERSI curl -L "https://raw.githubusercontent.com/fbartels/goss/dcgoss-v2/extras/dcgoss/dcgoss -o /usr/local/bin/dcgoss" && \ curl -fSL "https://github.com/SimonBaeumer/commander/releases/download/v$COMMANDER_VERSION/commander-linux-amd64" -o /usr/local/bin/commander && \ curl -fSL "https://raw.githubusercontent.com/fbartels/dccommander/master/dccommander" -o /usr/local/bin/dccommander && \ - pip install yamllint==1.19.0 && \ + pip install --no-cache-dir yamllint==1.19.0 && \ npm config set unsafe-perm true && \ npm install -g eclint@2.8.1 && \ chmod a+x /usr/local/bin/* diff --git a/konnect/Dockerfile b/konnect/Dockerfile index cfbde41..f1f3fd4 100644 --- a/konnect/Dockerfile +++ b/konnect/Dockerfile @@ -36,7 +36,7 @@ RUN apk add --no-cache \ jq \ openssl \ py-pip \ - && pip install yq==2.7.2 + && pip install --no-cache-dir yq==2.7.2 COPY --from=builder-sponge /go/bin/sponge /usr/local/bin