From 38355de60afbfce0944a82ca91e93f1c5b12352b Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 8 Dec 2021 13:42:16 +0100 Subject: [PATCH] Update Dockerfile --- addons_updater/Dockerfile | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/addons_updater/Dockerfile b/addons_updater/Dockerfile index e75dce42c..89d0d1eed 100644 --- a/addons_updater/Dockerfile +++ b/addons_updater/Dockerfile @@ -5,10 +5,15 @@ VOLUME [ "/data" ] #Install last version https://github.com/dvershinin/lastversion ENV PACKAGES="git moreutils" -RUN \ - apk add --no-cache ${PACKAGES} \ - && pip install --upgrade pip \ - && pip install lastversion + +################ +# Install apps # +################ +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 && \ + rm /automatic_packages.sh || true # copy local files COPY rootfs/ /