mirror of
https://github.com/aljazceru/addons.git
synced 2026-02-06 13:44:21 +01:00
Add some no-cache-dir to pip
This commit is contained in:
@@ -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 \
|
||||
|
||||
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user