Add some no-cache-dir to pip

This commit is contained in:
Pascal Vizeli
2019-11-07 17:08:20 +01:00
parent ba46c98a6a
commit 1ca6b008fe
2 changed files with 4 additions and 4 deletions

View File

@@ -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 \

View File

@@ -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/