From a2beb09070665f411f1b3adb2609db4e11fdf869 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 21 May 2023 09:56:23 +0200 Subject: [PATCH] Update Dockerfile --- portainer_agent/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/portainer_agent/Dockerfile b/portainer_agent/Dockerfile index 7eb723b63..c87670304 100644 --- a/portainer_agent/Dockerfile +++ b/portainer_agent/Dockerfile @@ -60,7 +60,7 @@ RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get && apt-get update && apt-get install -yqq --no-install-recommends ca-certificates || apk add --no-cache ca-certificates >/dev/null || true \ && mkdir -p /etc/cont-init.d \ && for scripts in $MODULES; do echo "$scripts" && curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" && [ "$(sed -n '/\/bin/p;q' /etc/cont-init.d/"$scripts")" != "" ] || (echo "script failed to install $scripts" && exit 1); done \ - && chmod -R 755 /etc/cont-init.d || true + && chmod -R 755 /etc/cont-init.d # Manual apps ENV PACKAGES="nginx" @@ -72,7 +72,7 @@ RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get && 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 || true + && rm /automatic_packages.sh ################ # 4 Entrypoint #