From 9602e173f51e03e4fb2860186a22b7bed24e81cc Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 8 Dec 2021 13:29:21 +0100 Subject: [PATCH] Update Dockerfile --- emby/Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/emby/Dockerfile b/emby/Dockerfile index 6b495ea79..feb8d1874 100644 --- a/emby/Dockerfile +++ b/emby/Dockerfile @@ -10,9 +10,11 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"] ################ # Install apps # ################ -RUN curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/zzz_templates/automatic_packages.sh" --output /automatic_packages.sh && \ +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 || true + /automatic_packages.sh && \ + rm /automatic_packages.sh RUN \ #############################