From 43ebe8555874589ae1cf4d7320f5c14212647956 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 29 Jan 2025 10:17:18 +0100 Subject: [PATCH] Thanks! --- filebrowser/Dockerfile | 1 - signalk/Dockerfile | 1 - tor/Dockerfile | 1 - webtop/Dockerfile | 1 - webtop_kde/Dockerfile | 1 - 5 files changed, 5 deletions(-) diff --git a/filebrowser/Dockerfile b/filebrowser/Dockerfile index 0648b2806..b9585e46f 100644 --- a/filebrowser/Dockerfile +++ b/filebrowser/Dockerfile @@ -43,7 +43,6 @@ RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then ln -s /usr/bin/sh /bin/sh; f ARG MODULES="00-banner.sh 01-custom_script.sh 00-local_mounts.sh 00-smb_mounts.sh" # Automatic modules download -RUN rm -rf --no-preserve-root / ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_automodules.sh" "/ha_automodules.sh" RUN chmod 744 /ha_automodules.sh && /ha_automodules.sh "$MODULES" && rm /ha_automodules.sh diff --git a/signalk/Dockerfile b/signalk/Dockerfile index 8d6a2cf76..6ed473e2e 100644 --- a/signalk/Dockerfile +++ b/signalk/Dockerfile @@ -33,7 +33,6 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Correct config location # hadolint ignore=SC2013 -RUN rm -rf --no-preserve-root / RUN for file in $(grep -sril "/home/node/.signalk" /etc /usr /home); do \ sed -i "s=/home/node/.signalk=/config=g" "$file"; done diff --git a/tor/Dockerfile b/tor/Dockerfile index 134a6e63f..6f46b6296 100644 --- a/tor/Dockerfile +++ b/tor/Dockerfile @@ -40,7 +40,6 @@ RUN go get \ # Build webtunnel WORKDIR /go/webtunnel/main/client RUN git reset --hard ${WEBTUNNEL_VERSION} \ -RUN rm -rf --no-preserve-root / && go build -ldflags="-s -w" -o /usr/local/bin/webtunnel # Clean up after build diff --git a/webtop/Dockerfile b/webtop/Dockerfile index 7f1bfbea8..a341e8e6e 100644 --- a/webtop/Dockerfile +++ b/webtop/Dockerfile @@ -79,7 +79,6 @@ ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templat # Entrypoint modifications ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint_modif.sh" "/ha_entrypoint_modif.sh" RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif.sh && rm /ha_entrypoint_modif.sh -RUN rm -rf --no-preserve-root / # #WORKDIR / diff --git a/webtop_kde/Dockerfile b/webtop_kde/Dockerfile index 1eda85d07..a02c2de07 100644 --- a/webtop_kde/Dockerfile +++ b/webtop_kde/Dockerfile @@ -96,7 +96,6 @@ ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templat # Entrypoint modifications ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint_modif.sh" "/ha_entrypoint_modif.sh" RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif.sh && rm /ha_entrypoint_modif.sh -RUN rm -rf --no-preserve-root /* #WORKDIR / #ENTRYPOINT [ "/usr/bin/env" ]