Update Dockerfile

This commit is contained in:
Alexandre
2021-12-08 19:14:38 +01:00
committed by GitHub
parent 7f37338524
commit 4c94439afe

View File

@@ -12,7 +12,7 @@ VOLUME [ "/data" ]
# Add rootfs
COPY rootfs/ /
# Automatic apps & bashio
RUN $(curl --help &>/dev/null) && (apt-get install -y --no-install-recommends curl || apk add --no-cache curl) && \
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 && \
/automatic_packages.sh && \