Update Dockerfile

This commit is contained in:
Alexandre
2021-12-09 22:58:28 +01:00
committed by GitHub
parent 51a72a38ae
commit f4d9784149

View File

@@ -35,7 +35,8 @@ ENV PACKAGES="libmariadb-dev-compat \
sqlite3"
# Automatic apps & bashio
RUN $(curl --help &>/dev/null) || (apt-get install -y --no-install-recommends curl || apk add --no-cache curl) && \
RUN $(ls /bin/bash &>/dev/null) || (apt-get install -y --no-install-recommends bash || apk add --no-cache bash) && \
$(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_packagesaa.sh "$PACKAGES" && \