diff --git a/addons_updater/Dockerfile b/addons_updater/Dockerfile index 8471c405d..078d68eab 100644 --- a/addons_updater/Dockerfile +++ b/addons_updater/Dockerfile @@ -35,6 +35,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -64,9 +65,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh # Entrypoint logic diff --git a/arpspoof/Dockerfile b/arpspoof/Dockerfile index 4845bf15d..bc7e64cd4 100644 --- a/arpspoof/Dockerfile +++ b/arpspoof/Dockerfile @@ -34,6 +34,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -63,9 +64,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh ENTRYPOINT [ "/usr/bin/env" ] diff --git a/autobrr/Dockerfile b/autobrr/Dockerfile index 2c1ca46ec..4766712cd 100644 --- a/autobrr/Dockerfile +++ b/autobrr/Dockerfile @@ -39,6 +39,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -71,9 +72,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh #WORKDIR / ENTRYPOINT [ "/usr/bin/env" ] diff --git a/baikal/Dockerfile b/baikal/Dockerfile index 2a880fd2a..8899abe48 100644 --- a/baikal/Dockerfile +++ b/baikal/Dockerfile @@ -38,6 +38,7 @@ RUN \ ################## # Copy local files COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=SC2114 @@ -68,9 +69,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh WORKDIR "/data" diff --git a/battybirdnet-pi/Dockerfile b/battybirdnet-pi/Dockerfile index 9f4dd3f39..8271c7800 100644 --- a/battybirdnet-pi/Dockerfile +++ b/battybirdnet-pi/Dockerfile @@ -133,6 +133,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -162,9 +163,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh # Avoid config.yaml interference WORKDIR /config diff --git a/bazarr/Dockerfile b/bazarr/Dockerfile index 18fe1aafa..d037cac40 100644 --- a/bazarr/Dockerfile +++ b/bazarr/Dockerfile @@ -39,6 +39,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -68,9 +69,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh ############ # 5 Labels # diff --git a/binance-trading-bot/Dockerfile b/binance-trading-bot/Dockerfile index 29eb9aad4..b5f4886fa 100644 --- a/binance-trading-bot/Dockerfile +++ b/binance-trading-bot/Dockerfile @@ -54,6 +54,7 @@ RUN \ # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -83,9 +84,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh VOLUME [ "/data" ] WORKDIR / diff --git a/birdnet-go/Dockerfile b/birdnet-go/Dockerfile index d67ef2d5a..175706d2d 100644 --- a/birdnet-go/Dockerfile +++ b/birdnet-go/Dockerfile @@ -34,6 +34,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -63,9 +64,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh # Avoid config.yaml interference RUN sed -i "s|config.yaml|config_env.yaml|g" /etc/cont-init.d/01-config_yaml.sh diff --git a/birdnet-pi/Dockerfile b/birdnet-pi/Dockerfile index 093908411..240405545 100644 --- a/birdnet-pi/Dockerfile +++ b/birdnet-pi/Dockerfile @@ -40,6 +40,7 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"] # hadolint ignore=DL3015,SC2016 # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; RUN \ # Install dependencies echo "Install dependencies" && \ @@ -171,9 +172,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh # Avoid config.yaml interference WORKDIR /config diff --git a/bitwarden/Dockerfile b/bitwarden/Dockerfile index 2746252a8..879479da7 100644 --- a/bitwarden/Dockerfile +++ b/bitwarden/Dockerfile @@ -63,6 +63,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; RUN chmod +x /etc/s6-overlay/s6-rc.d/*/run @@ -94,9 +95,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh # #WORKDIR / diff --git a/booksonic_air/Dockerfile b/booksonic_air/Dockerfile index 136c2c395..735ab47c4 100644 --- a/booksonic_air/Dockerfile +++ b/booksonic_air/Dockerfile @@ -42,6 +42,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -74,9 +75,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh # #WORKDIR / diff --git a/browser_chromium/Dockerfile b/browser_chromium/Dockerfile index 9e561df7d..7f89cb41b 100644 --- a/browser_chromium/Dockerfile +++ b/browser_chromium/Dockerfile @@ -58,6 +58,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; RUN chmod 777 /etc/usr/bin/wrapped-* diff --git a/browserless_chrome/Dockerfile b/browserless_chrome/Dockerfile index 833ed35eb..1da13717d 100644 --- a/browserless_chrome/Dockerfile +++ b/browserless_chrome/Dockerfile @@ -36,6 +36,7 @@ USER root # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -65,11 +66,7 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh - -RUN sed -i "2a /./ha_entrypoint.sh" ./scripts/start.sh +RUN \ sed -i "2a /./ha_entrypoint.sh" ./scripts/start.sh ############ # 5 Labels # diff --git a/calibre/Dockerfile b/calibre/Dockerfile index ff612ca3f..b0d316096 100644 --- a/calibre/Dockerfile +++ b/calibre/Dockerfile @@ -48,6 +48,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL # Copy local files COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -77,9 +78,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh # #WORKDIR / diff --git a/calibre_web/Dockerfile b/calibre_web/Dockerfile index 55ff6fd8c..2decd5454 100644 --- a/calibre_web/Dockerfile +++ b/calibre_web/Dockerfile @@ -50,6 +50,7 @@ RUN \ # Copy local files COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -83,9 +84,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh # #WORKDIR / diff --git a/changedetection.io/Dockerfile b/changedetection.io/Dockerfile index 15fe0d43e..36d62ea58 100644 --- a/changedetection.io/Dockerfile +++ b/changedetection.io/Dockerfile @@ -40,6 +40,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -69,9 +70,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh #WORKDIR / #ENTRYPOINT [ "/usr/bin/env" ] diff --git a/cloudcommander/Dockerfile b/cloudcommander/Dockerfile index 536a28ba5..fc7a99277 100644 --- a/cloudcommander/Dockerfile +++ b/cloudcommander/Dockerfile @@ -33,6 +33,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -65,9 +66,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh ENTRYPOINT [ "/ha_entrypoint.sh" ] diff --git a/codex/Dockerfile b/codex/Dockerfile index bc6ad29a6..34ece6729 100644 --- a/codex/Dockerfile +++ b/codex/Dockerfile @@ -33,6 +33,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -62,9 +63,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh VOLUME [ "/data" ] WORKDIR / diff --git a/collabora/Dockerfile b/collabora/Dockerfile index af0d5f69d..512671733 100644 --- a/collabora/Dockerfile +++ b/collabora/Dockerfile @@ -40,6 +40,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL # Copy local files COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/comixed/Dockerfile b/comixed/Dockerfile index 8c70bcd35..5c0a62a65 100644 --- a/comixed/Dockerfile +++ b/comixed/Dockerfile @@ -49,6 +49,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -78,9 +79,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh VOLUME [ "/data" ] WORKDIR / diff --git a/elasticsearch/Dockerfile b/elasticsearch/Dockerfile index 64f438459..5c37fc4f2 100644 --- a/elasticsearch/Dockerfile +++ b/elasticsearch/Dockerfile @@ -47,6 +47,7 @@ RUN sed -i '5a echo "Data location moved. Please wait while elasticsearch starts # Copy local files COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -76,9 +77,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh ############ # 5 Labels # diff --git a/emby/Dockerfile b/emby/Dockerfile index 5d9ec70d1..5a380e927 100644 --- a/emby/Dockerfile +++ b/emby/Dockerfile @@ -38,6 +38,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL ################## # Copy local files COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -67,9 +68,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh ############ # 5 Labels # diff --git a/emby_beta/Dockerfile b/emby_beta/Dockerfile index 43660eb0f..b51eb9ab2 100644 --- a/emby_beta/Dockerfile +++ b/emby_beta/Dockerfile @@ -38,6 +38,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL ################## # Copy local files COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -67,9 +68,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh ############ # 5 Labels # diff --git a/enedisgateway2mqtt/Dockerfile b/enedisgateway2mqtt/Dockerfile index a86edeb49..29eb8d9b9 100644 --- a/enedisgateway2mqtt/Dockerfile +++ b/enedisgateway2mqtt/Dockerfile @@ -33,6 +33,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -62,9 +63,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh ENTRYPOINT [ "/usr/bin/env" ] diff --git a/enedisgateway2mqtt_dev/Dockerfile b/enedisgateway2mqtt_dev/Dockerfile index 8117a7188..3192f07d0 100644 --- a/enedisgateway2mqtt_dev/Dockerfile +++ b/enedisgateway2mqtt_dev/Dockerfile @@ -33,6 +33,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -62,9 +63,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh ENTRYPOINT [ "/usr/bin/env" ] diff --git a/ente/Dockerfile b/ente/Dockerfile index 2e528dd42..5f53fbcd8 100644 --- a/ente/Dockerfile +++ b/ente/Dockerfile @@ -102,6 +102,7 @@ COPY --from=web-builder /src/web/apps/cast/out /www/cast # 3) Install add-on helpers # ############################ COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; ARG MODULES="00-banner.sh 01-custom_script.sh 00-global_var.sh 00-local_mounts.sh 00-smb_mounts.sh" ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_automodules.sh" /ha_automodules.sh diff --git a/epicgamesfree/Dockerfile b/epicgamesfree/Dockerfile index cdb4b8c96..83e534f18 100644 --- a/epicgamesfree/Dockerfile +++ b/epicgamesfree/Dockerfile @@ -36,6 +36,7 @@ RUN sed -i "1a /./ha_entrypoint.sh" /usr/local/bin/docker-entrypoint.sh # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -65,9 +66,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh # #WORKDIR / diff --git a/filebrowser/Dockerfile b/filebrowser/Dockerfile index 5f7c8458a..19d1f2665 100644 --- a/filebrowser/Dockerfile +++ b/filebrowser/Dockerfile @@ -35,6 +35,7 @@ USER root # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -65,11 +66,7 @@ RUN chmod 744 /ha_autoapps.sh && /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps. ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh - -RUN sed -i "s|/command/with-contenv|/usr/bin/env|g" "/ha_entrypoint.sh" +RUN \ sed -i "s|/command/with-contenv|/usr/bin/env|g" "/ha_entrypoint.sh" VOLUME [ "/data" ] WORKDIR / diff --git a/filebrowser_quantum/Dockerfile b/filebrowser_quantum/Dockerfile index bea0060e2..ffa17d523 100644 --- a/filebrowser_quantum/Dockerfile +++ b/filebrowser_quantum/Dockerfile @@ -35,6 +35,7 @@ USER root # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -66,11 +67,7 @@ RUN chmod 744 /ha_autoapps.sh && /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps. ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh - -RUN sed -i "s|/command/with-contenv|/usr/bin/env|g" "/ha_entrypoint.sh" +RUN \ sed -i "s|/command/with-contenv|/usr/bin/env|g" "/ha_entrypoint.sh" VOLUME [ "/data" ] WORKDIR / diff --git a/fireflyiii/Dockerfile b/fireflyiii/Dockerfile index 5e5b04a32..86dc56bc7 100644 --- a/fireflyiii/Dockerfile +++ b/fireflyiii/Dockerfile @@ -45,6 +45,7 @@ RUN \ # Copy local files COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -74,9 +75,6 @@ RUN chmod 744 /ha_autoapps.sh && /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps. ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh #ENTRYPOINT [ "/usr/bin/env" ] #CMD [ "/ha_entrypoint.sh" ] diff --git a/fireflyiii_data_importer/Dockerfile b/fireflyiii_data_importer/Dockerfile index a17aaff37..c13f3e7ea 100644 --- a/fireflyiii_data_importer/Dockerfile +++ b/fireflyiii_data_importer/Dockerfile @@ -47,6 +47,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Copy local files COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -76,9 +77,6 @@ RUN chmod 744 /ha_autoapps.sh && /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps. ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh # Adapt shebang SHELL ["/bin/bash", "-o", "pipefail", "-c"] diff --git a/fireflyiii_fints_importer/Dockerfile b/fireflyiii_fints_importer/Dockerfile index 99952ab32..395db9233 100644 --- a/fireflyiii_fints_importer/Dockerfile +++ b/fireflyiii_fints_importer/Dockerfile @@ -34,6 +34,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Copy local files COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/flaresolverr/Dockerfile b/flaresolverr/Dockerfile index 6860153bb..61b78fcac 100644 --- a/flaresolverr/Dockerfile +++ b/flaresolverr/Dockerfile @@ -35,6 +35,7 @@ USER root # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -64,9 +65,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh ENTRYPOINT [ "/usr/bin/env" ] diff --git a/flexget/Dockerfile b/flexget/Dockerfile index da0897c4b..10042351c 100644 --- a/flexget/Dockerfile +++ b/flexget/Dockerfile @@ -49,6 +49,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -80,9 +81,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh # #WORKDIR / diff --git a/free_games_claimer/Dockerfile b/free_games_claimer/Dockerfile index 7569f34ee..0352a25b4 100644 --- a/free_games_claimer/Dockerfile +++ b/free_games_claimer/Dockerfile @@ -33,6 +33,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -62,10 +63,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh - RUN \ # Change data folder sed -i "s|/fgc|/data|g" /usr/local/bin/docker-entrypoint.sh && \ diff --git a/gazpar2mqtt/Dockerfile b/gazpar2mqtt/Dockerfile index f04321321..3cc529347 100644 --- a/gazpar2mqtt/Dockerfile +++ b/gazpar2mqtt/Dockerfile @@ -36,6 +36,7 @@ ENV TZ=Europe/Paris # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -65,9 +66,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh ENTRYPOINT [ "/usr/bin/env" ] diff --git a/gitea/Dockerfile b/gitea/Dockerfile index da592ae8c..f6a0d55ec 100644 --- a/gitea/Dockerfile +++ b/gitea/Dockerfile @@ -36,6 +36,7 @@ USER root # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -67,9 +68,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh ENTRYPOINT [ "/ha_entrypoint.sh" ] diff --git a/grampsweb/Dockerfile b/grampsweb/Dockerfile index 0c1d7cdfb..9d0cdb25f 100644 --- a/grampsweb/Dockerfile +++ b/grampsweb/Dockerfile @@ -34,6 +34,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -63,9 +64,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh ENTRYPOINT [ "/usr/bin/env" ] CMD [ "/ha_entrypoint.sh" ] diff --git a/grav/Dockerfile b/grav/Dockerfile index 2bd1c7e4e..b162ba004 100644 --- a/grav/Dockerfile +++ b/grav/Dockerfile @@ -39,6 +39,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -71,9 +72,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh ############ # 5 Labels # diff --git a/guacamole/Dockerfile b/guacamole/Dockerfile index 3cfe2340b..dc2c25ea8 100644 --- a/guacamole/Dockerfile +++ b/guacamole/Dockerfile @@ -60,6 +60,7 @@ RUN \ # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/immich/Dockerfile b/immich/Dockerfile index ca76a48c6..547ca2814 100644 --- a/immich/Dockerfile +++ b/immich/Dockerfile @@ -48,6 +48,7 @@ ENV DOCKER_MODS="imagegenius/mods:universal-redis" # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -77,11 +78,7 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh - -RUN sed -i "s|postgresql-16|postgresql-15|g" /etc/s6-overlay/s6-rc.d/init-test-run/run +RUN \ sed -i "s|postgresql-16|postgresql-15|g" /etc/s6-overlay/s6-rc.d/init-test-run/run # Install dependencies SHELL ["/bin/bash", "-o", "pipefail", "-c"] diff --git a/immich_cuda/Dockerfile b/immich_cuda/Dockerfile index ca76a48c6..547ca2814 100644 --- a/immich_cuda/Dockerfile +++ b/immich_cuda/Dockerfile @@ -48,6 +48,7 @@ ENV DOCKER_MODS="imagegenius/mods:universal-redis" # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -77,11 +78,7 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh - -RUN sed -i "s|postgresql-16|postgresql-15|g" /etc/s6-overlay/s6-rc.d/init-test-run/run +RUN \ sed -i "s|postgresql-16|postgresql-15|g" /etc/s6-overlay/s6-rc.d/init-test-run/run # Install dependencies SHELL ["/bin/bash", "-o", "pipefail", "-c"] diff --git a/immich_frame/Dockerfile b/immich_frame/Dockerfile index a633c32ff..2f0214699 100644 --- a/immich_frame/Dockerfile +++ b/immich_frame/Dockerfile @@ -35,6 +35,7 @@ USER root # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -64,9 +65,6 @@ RUN chmod 744 /ha_autoapps.sh && /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps. ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh ENTRYPOINT [ "/usr/bin/env" ] CMD [ "/ha_entrypoint.sh" ] diff --git a/immich_noml/Dockerfile b/immich_noml/Dockerfile index ca76a48c6..547ca2814 100644 --- a/immich_noml/Dockerfile +++ b/immich_noml/Dockerfile @@ -48,6 +48,7 @@ ENV DOCKER_MODS="imagegenius/mods:universal-redis" # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -77,11 +78,7 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh - -RUN sed -i "s|postgresql-16|postgresql-15|g" /etc/s6-overlay/s6-rc.d/init-test-run/run +RUN \ sed -i "s|postgresql-16|postgresql-15|g" /etc/s6-overlay/s6-rc.d/init-test-run/run # Install dependencies SHELL ["/bin/bash", "-o", "pipefail", "-c"] diff --git a/immich_openvino/Dockerfile b/immich_openvino/Dockerfile index ca76a48c6..547ca2814 100644 --- a/immich_openvino/Dockerfile +++ b/immich_openvino/Dockerfile @@ -48,6 +48,7 @@ ENV DOCKER_MODS="imagegenius/mods:universal-redis" # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -77,11 +78,7 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh - -RUN sed -i "s|postgresql-16|postgresql-15|g" /etc/s6-overlay/s6-rc.d/init-test-run/run +RUN \ sed -i "s|postgresql-16|postgresql-15|g" /etc/s6-overlay/s6-rc.d/init-test-run/run # Install dependencies SHELL ["/bin/bash", "-o", "pipefail", "-c"] diff --git a/immich_power_tools/Dockerfile b/immich_power_tools/Dockerfile index a633c32ff..2f0214699 100644 --- a/immich_power_tools/Dockerfile +++ b/immich_power_tools/Dockerfile @@ -35,6 +35,7 @@ USER root # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -64,9 +65,6 @@ RUN chmod 744 /ha_autoapps.sh && /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps. ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh ENTRYPOINT [ "/usr/bin/env" ] CMD [ "/ha_entrypoint.sh" ] diff --git a/inadyn/Dockerfile b/inadyn/Dockerfile index 0a34f4f73..52b4ee45f 100644 --- a/inadyn/Dockerfile +++ b/inadyn/Dockerfile @@ -37,6 +37,7 @@ ENV LANG='C.UTF-8'\ # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -88,9 +89,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh WORKDIR / diff --git a/jackett/Dockerfile b/jackett/Dockerfile index de4a91d31..4b55651d5 100644 --- a/jackett/Dockerfile +++ b/jackett/Dockerfile @@ -41,6 +41,7 @@ ENV XDG_CONFIG_HOME="/config/addons_config" # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -70,9 +71,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh ############ # 5 Labels # diff --git a/jellyfin/Dockerfile b/jellyfin/Dockerfile index 8ad5941b1..84de052be 100644 --- a/jellyfin/Dockerfile +++ b/jellyfin/Dockerfile @@ -49,6 +49,7 @@ RUN \ # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -78,9 +79,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh # #WORKDIR / diff --git a/jellyseerr/Dockerfile b/jellyseerr/Dockerfile index 4c253884c..2487113ca 100644 --- a/jellyseerr/Dockerfile +++ b/jellyseerr/Dockerfile @@ -45,6 +45,7 @@ RUN \ # Copy local files COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -74,9 +75,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh #ENTRYPOINT [ "/usr/bin/env" ] diff --git a/joal/Dockerfile b/joal/Dockerfile index 89feb60b0..be4573246 100644 --- a/joal/Dockerfile +++ b/joal/Dockerfile @@ -46,6 +46,7 @@ RUN \ # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -75,9 +76,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh ENTRYPOINT [ "/usr/bin/env" ] diff --git a/joplin/Dockerfile b/joplin/Dockerfile index 3f3a49977..f8a7da47b 100644 --- a/joplin/Dockerfile +++ b/joplin/Dockerfile @@ -41,6 +41,7 @@ ENV \ # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -70,9 +71,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh ENTRYPOINT [ "/usr/bin/env" ] diff --git a/kometa/Dockerfile b/kometa/Dockerfile index 235017b1e..045ae27c7 100644 --- a/kometa/Dockerfile +++ b/kometa/Dockerfile @@ -47,6 +47,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -76,9 +77,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh # #WORKDIR / diff --git a/librespeed/Dockerfile b/librespeed/Dockerfile index 6d5be2c09..e35cea510 100644 --- a/librespeed/Dockerfile +++ b/librespeed/Dockerfile @@ -38,6 +38,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL # Copy local files COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -67,9 +68,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh # #WORKDIR / diff --git a/lidarr/Dockerfile b/lidarr/Dockerfile index 24f658115..ce7f78725 100644 --- a/lidarr/Dockerfile +++ b/lidarr/Dockerfile @@ -38,6 +38,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -70,9 +71,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh # #WORKDIR / diff --git a/linkwarden/Dockerfile b/linkwarden/Dockerfile index b86c0daf6..3ffa183eb 100644 --- a/linkwarden/Dockerfile +++ b/linkwarden/Dockerfile @@ -48,6 +48,7 @@ RUN \ # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -77,7 +78,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/mealie/Dockerfile b/mealie/Dockerfile index df6d7012b..c9c191338 100644 --- a/mealie/Dockerfile +++ b/mealie/Dockerfile @@ -65,6 +65,7 @@ RUN \ # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -94,7 +95,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/monica/Dockerfile b/monica/Dockerfile index 5f7234c05..d91b3fec5 100644 --- a/monica/Dockerfile +++ b/monica/Dockerfile @@ -34,6 +34,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -99,7 +100,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/mylar3/Dockerfile b/mylar3/Dockerfile index d58b52bfe..8dd0c2b14 100644 --- a/mylar3/Dockerfile +++ b/mylar3/Dockerfile @@ -38,6 +38,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL # Copy local files COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -67,7 +68,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/navidrome/Dockerfile b/navidrome/Dockerfile index 2e6b2a46b..3aaf9c964 100644 --- a/navidrome/Dockerfile +++ b/navidrome/Dockerfile @@ -35,6 +35,7 @@ USER root # Copy local files COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -66,7 +67,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/netalertx/Dockerfile b/netalertx/Dockerfile index f5a4da735..40216dcfa 100644 --- a/netalertx/Dockerfile +++ b/netalertx/Dockerfile @@ -56,6 +56,7 @@ USER 0 # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Bring in jq + gosu (and their libs). NO apk in final stage. COPY --from=ha_tools /out/ / diff --git a/nextcloud/Dockerfile b/nextcloud/Dockerfile index ec95f7418..ee233f7b9 100644 --- a/nextcloud/Dockerfile +++ b/nextcloud/Dockerfile @@ -75,6 +75,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -106,7 +107,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/nzbget/Dockerfile b/nzbget/Dockerfile index 47e07145c..625fdd462 100644 --- a/nzbget/Dockerfile +++ b/nzbget/Dockerfile @@ -38,6 +38,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL # Copy local files COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -67,7 +68,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/ombi/Dockerfile b/ombi/Dockerfile index 0fd3d97ca..05c4d293e 100644 --- a/ombi/Dockerfile +++ b/ombi/Dockerfile @@ -39,6 +39,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -68,7 +69,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/omni-tools/Dockerfile b/omni-tools/Dockerfile index 2b3ebc898..6d2b71fc7 100644 --- a/omni-tools/Dockerfile +++ b/omni-tools/Dockerfile @@ -37,6 +37,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL ################## # Copy local files COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -66,7 +67,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/openproject/Dockerfile b/openproject/Dockerfile index b3d13c76f..0f3d2a3b5 100644 --- a/openproject/Dockerfile +++ b/openproject/Dockerfile @@ -44,6 +44,7 @@ USER root # Copy local files COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -75,7 +76,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/organizr/Dockerfile b/organizr/Dockerfile index 7f1bb6d9f..f3e10c6af 100644 --- a/organizr/Dockerfile +++ b/organizr/Dockerfile @@ -37,6 +37,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -66,7 +67,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/overseerr/Dockerfile b/overseerr/Dockerfile index 1fd151cea..8cb065b09 100644 --- a/overseerr/Dockerfile +++ b/overseerr/Dockerfile @@ -39,6 +39,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL # Copy local files COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -68,7 +69,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/photoprism/Dockerfile b/photoprism/Dockerfile index a847f8e61..fb4c98c9a 100644 --- a/photoprism/Dockerfile +++ b/photoprism/Dockerfile @@ -39,6 +39,7 @@ RUN \ # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -73,7 +74,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/piwigo/Dockerfile b/piwigo/Dockerfile index cd6ec59f1..e7500d33d 100644 --- a/piwigo/Dockerfile +++ b/piwigo/Dockerfile @@ -38,6 +38,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -69,7 +70,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/plex/Dockerfile b/plex/Dockerfile index e19b3ab09..9af6305e5 100644 --- a/plex/Dockerfile +++ b/plex/Dockerfile @@ -50,6 +50,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -81,7 +82,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/portainer/Dockerfile b/portainer/Dockerfile index bb351e641..f590a6e55 100644 --- a/portainer/Dockerfile +++ b/portainer/Dockerfile @@ -56,6 +56,7 @@ RUN \ # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -85,7 +86,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/portainer_agent/Dockerfile b/portainer_agent/Dockerfile index 576eb0b90..7ec9ba0a4 100644 --- a/portainer_agent/Dockerfile +++ b/portainer_agent/Dockerfile @@ -47,6 +47,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/postgres_15/Dockerfile b/postgres_15/Dockerfile index ca24eca2d..fa41d2a6d 100644 --- a/postgres_15/Dockerfile +++ b/postgres_15/Dockerfile @@ -40,6 +40,7 @@ RUN \ # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -69,7 +70,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/prowlarr/Dockerfile b/prowlarr/Dockerfile index 49fe138d1..5e82f6d72 100644 --- a/prowlarr/Dockerfile +++ b/prowlarr/Dockerfile @@ -38,6 +38,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -70,7 +71,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/qbittorrent/Dockerfile b/qbittorrent/Dockerfile index fdc112c08..818e6296c 100644 --- a/qbittorrent/Dockerfile +++ b/qbittorrent/Dockerfile @@ -91,6 +91,7 @@ RUN \ ################## # Copy local files COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -132,7 +133,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/radarr/Dockerfile b/radarr/Dockerfile index 6de7bed79..2cd5a246f 100644 --- a/radarr/Dockerfile +++ b/radarr/Dockerfile @@ -38,6 +38,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -71,7 +72,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/readarr/Dockerfile b/readarr/Dockerfile index 6b8000154..0a5bc6131 100644 --- a/readarr/Dockerfile +++ b/readarr/Dockerfile @@ -39,6 +39,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL # Copy local files COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -68,7 +69,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/requestrr/Dockerfile b/requestrr/Dockerfile index 2ed8b1645..4da33db18 100644 --- a/requestrr/Dockerfile +++ b/requestrr/Dockerfile @@ -38,6 +38,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -70,7 +71,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/resiliosync/Dockerfile b/resiliosync/Dockerfile index 730f0d24f..98cf41a7e 100644 --- a/resiliosync/Dockerfile +++ b/resiliosync/Dockerfile @@ -56,6 +56,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -89,7 +90,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/sabnzbd/Dockerfile b/sabnzbd/Dockerfile index 47e07145c..625fdd462 100644 --- a/sabnzbd/Dockerfile +++ b/sabnzbd/Dockerfile @@ -38,6 +38,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL # Copy local files COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -67,7 +68,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/scrutiny/Dockerfile b/scrutiny/Dockerfile index 635becb14..ba180117a 100644 --- a/scrutiny/Dockerfile +++ b/scrutiny/Dockerfile @@ -33,6 +33,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -65,7 +66,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/scrutiny_fa/Dockerfile b/scrutiny_fa/Dockerfile index 23e8c6a96..eb991f23f 100644 --- a/scrutiny_fa/Dockerfile +++ b/scrutiny_fa/Dockerfile @@ -33,6 +33,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -62,7 +63,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/seafile/Dockerfile b/seafile/Dockerfile index eb1131bd9..74f9c45f7 100644 --- a/seafile/Dockerfile +++ b/seafile/Dockerfile @@ -39,6 +39,7 @@ USER root # Copy local files COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -68,7 +69,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/signalk/Dockerfile b/signalk/Dockerfile index c695754a5..500e1b8a5 100644 --- a/signalk/Dockerfile +++ b/signalk/Dockerfile @@ -42,6 +42,7 @@ RUN for file in $(grep -sril "/home/node/.signalk" /etc /usr /home); do \ # Copy local files COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -71,7 +72,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/social_to_mealie/Dockerfile b/social_to_mealie/Dockerfile index a74ad0948..c1539721b 100644 --- a/social_to_mealie/Dockerfile +++ b/social_to_mealie/Dockerfile @@ -35,6 +35,7 @@ USER root # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -64,7 +65,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/sonarr/Dockerfile b/sonarr/Dockerfile index a2b0a3d95..7dfc6e79c 100644 --- a/sonarr/Dockerfile +++ b/sonarr/Dockerfile @@ -39,6 +39,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -71,7 +72,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/sponsorblockcast/Dockerfile b/sponsorblockcast/Dockerfile index a82a99a9b..80cbf2513 100644 --- a/sponsorblockcast/Dockerfile +++ b/sponsorblockcast/Dockerfile @@ -35,6 +35,7 @@ USER root # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -64,7 +65,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/spotweb/Dockerfile b/spotweb/Dockerfile index c0207f307..ee8a854ee 100644 --- a/spotweb/Dockerfile +++ b/spotweb/Dockerfile @@ -92,6 +92,7 @@ RUN if [ -d /app ]; then chown -R nginx /app; fi # Copy local files COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -121,7 +122,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/tandoor_recipes/Dockerfile b/tandoor_recipes/Dockerfile index a7e98a404..1d069cef5 100644 --- a/tandoor_recipes/Dockerfile +++ b/tandoor_recipes/Dockerfile @@ -33,6 +33,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -62,7 +63,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/tdarr/Dockerfile b/tdarr/Dockerfile index 0ed252487..3d2ae98b5 100644 --- a/tdarr/Dockerfile +++ b/tdarr/Dockerfile @@ -33,6 +33,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -62,7 +63,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/teamspeak/Dockerfile b/teamspeak/Dockerfile index ab50314ff..3e8621bd4 100644 --- a/teamspeak/Dockerfile +++ b/teamspeak/Dockerfile @@ -40,6 +40,7 @@ VOLUME [ "/data:/var/ts3server/" ] # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -69,7 +70,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/transmission/Dockerfile b/transmission/Dockerfile index 791053a0c..d638db423 100644 --- a/transmission/Dockerfile +++ b/transmission/Dockerfile @@ -49,6 +49,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -78,7 +79,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/transmission_openvpn/Dockerfile b/transmission_openvpn/Dockerfile index 98d782964..7e496c498 100644 --- a/transmission_openvpn/Dockerfile +++ b/transmission_openvpn/Dockerfile @@ -39,6 +39,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -68,7 +69,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/ubooquity/Dockerfile b/ubooquity/Dockerfile index 3d4a48914..5eb90aea7 100644 --- a/ubooquity/Dockerfile +++ b/ubooquity/Dockerfile @@ -49,6 +49,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -81,7 +82,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/unpackerr/Dockerfile b/unpackerr/Dockerfile index d0e427e0a..1b9fea885 100644 --- a/unpackerr/Dockerfile +++ b/unpackerr/Dockerfile @@ -37,6 +37,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ ################## # Copy local files COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -66,7 +67,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/webtop_kde/Dockerfile b/webtop_kde/Dockerfile index 9464ff996..cb9ce273d 100644 --- a/webtop_kde/Dockerfile +++ b/webtop_kde/Dockerfile @@ -55,6 +55,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -84,7 +85,8 @@ RUN chmod 744 /ha_autoapps.sh && /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps. ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/webtrees/Dockerfile b/webtrees/Dockerfile index 405ae73c0..11febd564 100644 --- a/webtrees/Dockerfile +++ b/webtrees/Dockerfile @@ -55,6 +55,7 @@ RUN \ # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -86,7 +87,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/wger/Dockerfile b/wger/Dockerfile index 845962370..18255186c 100644 --- a/wger/Dockerfile +++ b/wger/Dockerfile @@ -46,6 +46,7 @@ RUN echo "wger ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers && \ # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -75,7 +76,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/whatsapper/Dockerfile b/whatsapper/Dockerfile index 0dd82469b..728820316 100644 --- a/whatsapper/Dockerfile +++ b/whatsapper/Dockerfile @@ -35,6 +35,7 @@ USER root # Copy local files # COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -66,7 +67,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/whoogle/Dockerfile b/whoogle/Dockerfile index 1ed2c3d53..af198a847 100644 --- a/whoogle/Dockerfile +++ b/whoogle/Dockerfile @@ -39,6 +39,7 @@ RUN \ # Copy local files COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -68,7 +69,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/xteve/Dockerfile b/xteve/Dockerfile index 6318d871a..1df88c6f8 100644 --- a/xteve/Dockerfile +++ b/xteve/Dockerfile @@ -39,6 +39,7 @@ RUN cp -vnpr /home/xteve* /data || true # Copy local files COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -68,7 +69,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/zoneminder/Dockerfile b/zoneminder/Dockerfile index afe9f0000..c48688b7c 100644 --- a/zoneminder/Dockerfile +++ b/zoneminder/Dockerfile @@ -44,6 +44,7 @@ RUN sed -i 's|/etc/zm.conf|/config/addons_config/zoneminder/zm.conf|g' /usr/loca # Copy local files COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -73,7 +74,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/zzz_archived_code-server/Dockerfile b/zzz_archived_code-server/Dockerfile index 34d1bfc02..9a2fa813f 100644 --- a/zzz_archived_code-server/Dockerfile +++ b/zzz_archived_code-server/Dockerfile @@ -39,6 +39,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -68,7 +69,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/zzz_archived_omada/Dockerfile b/zzz_archived_omada/Dockerfile index 62bf757b6..4a1020db0 100644 --- a/zzz_archived_omada/Dockerfile +++ b/zzz_archived_omada/Dockerfile @@ -37,6 +37,7 @@ RUN sed -i '1a /./ha_entrypoint.sh' /entrypoint.sh # Copy local files COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -66,7 +67,8 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command +COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \;ashio command ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh diff --git a/zzz_archived_omada_v3/Dockerfile b/zzz_archived_omada_v3/Dockerfile index 3fd3d60e1..35a52d106 100644 --- a/zzz_archived_omada_v3/Dockerfile +++ b/zzz_archived_omada_v3/Dockerfile @@ -43,6 +43,7 @@ RUN echo "Adding symlinks to entrypoint" \ # Copy local files COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -72,9 +73,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh # #ENTRYPOINT [ "/usr/bin/env" ] diff --git a/zzz_archived_paperless_ngx/Dockerfile b/zzz_archived_paperless_ngx/Dockerfile index a09f985a4..6188bb4de 100644 --- a/zzz_archived_paperless_ngx/Dockerfile +++ b/zzz_archived_paperless_ngx/Dockerfile @@ -37,6 +37,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -66,9 +67,6 @@ RUN chmod 744 /ha_autoapps.sh && /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps. #ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh # Add custom scripts RUN sed -i "2a source /ha_entrypoint.sh" /sbin/docker-entrypoint.sh && \ diff --git a/zzz_archived_papermerge/Dockerfile b/zzz_archived_papermerge/Dockerfile index a4142193b..32432bc8f 100644 --- a/zzz_archived_papermerge/Dockerfile +++ b/zzz_archived_papermerge/Dockerfile @@ -46,6 +46,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -78,9 +79,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh # #WORKDIR / diff --git a/zzz_archived_plex_meta_manager/Dockerfile b/zzz_archived_plex_meta_manager/Dockerfile index 9aeaee1cf..7a7191eec 100644 --- a/zzz_archived_plex_meta_manager/Dockerfile +++ b/zzz_archived_plex_meta_manager/Dockerfile @@ -47,6 +47,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL # Add rootfs COPY rootfs/ / +RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -76,9 +77,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" RUN chmod 777 /ha_entrypoint.sh -# Standalone bashio command -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" -RUN chmod 777 /.bashio-standalone.sh # #WORKDIR /