Update Dockerfile

This commit is contained in:
Alexandre
2022-11-21 21:21:34 +01:00
committed by GitHub
parent 9c7c90490e
commit e3fc067b90

View File

@@ -88,7 +88,8 @@ 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)
&& 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)
# 4 Entrypoint #
################