Update Dockerfile

This commit is contained in:
Alexandre
2022-11-21 21:25:13 +01:00
committed by GitHub
parent f8e151904a
commit c74c0c88f0

View File

@@ -88,9 +88,9 @@ RUN false && if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update &
&& curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
&& chmod 777 /automatic_packages.sh \
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
&& rm /automatic_packages.sh || (printf '%s\n' "${PACKAGES:-}" > /ENVFILE && \
if [ -f /etc/s6-overlay/s6-rc.d/00-legacy/up ]; then exit 0 && chmod +x /etc/cont-init.d/00-aaa_dockerfile_backup.sh && sed -i "1i /./etc/cont-init.d/00-aaa_dockerfile_backup.sh" /etc/s6-overlay/s6-rc.d/00-legacy/up; fi)
&& rm /automatic_packages.sh || (printf '%s\n' "${PACKAGES:-}" > /ENVFILE)
################
# 4 Entrypoint #
################