Update Dockerfile

This commit is contained in:
Alexandre
2021-12-08 13:29:21 +01:00
committed by GitHub
parent afbd5aa080
commit 9602e173f5

View File

@@ -10,9 +10,11 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
################ ################
# Install apps # # Install apps #
################ ################
RUN curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/zzz_templates/automatic_packages.sh" --output /automatic_packages.sh && \ RUN $(curl --help &>/dev/null) && (apt-get install -y --no-install-recommends curl || apk add --no-cache curl) && \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/zzz_templates/automatic_packages.sh" --output /automatic_packages.sh && \
chmod 777 /automatic_packages.sh && \ chmod 777 /automatic_packages.sh && \
/automatic_packages.sh || true /automatic_packages.sh && \
rm /automatic_packages.sh
RUN \ RUN \
############################# #############################