From 1ca6b008fecd21593a7fda678d1c168891b9e388 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Thu, 7 Nov 2019 17:08:20 +0100 Subject: [PATCH] Add some no-cache-dir to pip --- ada/Dockerfile | 6 +++--- configurator/Dockerfile | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ada/Dockerfile b/ada/Dockerfile index 7a1ccfa..50a8558 100644 --- a/ada/Dockerfile +++ b/ada/Dockerfile @@ -18,9 +18,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ \ && git clone --depth 1 -b ${ADA_VERSION} https://github.com/home-assistant/dude . \ && rm -rf .git \ - && pip3 install -U setuptools wheel \ - && pip3 install -r requirements.txt \ - && pip3 install -e . \ + && pip3 install --no-cache-dir -U setuptools wheel \ + && pip3 install --no-cache-dir -r requirements.txt \ + && pip3 install --no-cache-dir -e . \ && python3 -m compileall dude \ \ && apt-get purge -y --auto-remove \ diff --git a/configurator/Dockerfile b/configurator/Dockerfile index 93410e5..f3c77c5 100644 --- a/configurator/Dockerfile +++ b/configurator/Dockerfile @@ -11,7 +11,7 @@ RUN apk add --no-cache \ && cp -f hassio-auth/nginx-frontend/ha-auth.lua /etc/nginx/ \ && cp -f hassio-auth/nginx-frontend/example/nginx-ingress.conf /etc/nginx/ \ && rm -fr /usr/src/hassio-auth \ - && pip install hass-configurator==${CONFIGURATOR_VERSION} + && pip install --no-cache-dir hass-configurator==${CONFIGURATOR_VERSION} # Copy data COPY data/configurator.conf /etc/