diff --git a/addons_updater/Dockerfile b/addons_updater/Dockerfile index e4e1e8c9e..5539c0195 100644 --- a/addons_updater/Dockerfile +++ b/addons_updater/Dockerfile @@ -35,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/arpspoof/Dockerfile b/arpspoof/Dockerfile index f8dfeb85a..a23116c23 100644 --- a/arpspoof/Dockerfile +++ b/arpspoof/Dockerfile @@ -34,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/autobrr/Dockerfile b/autobrr/Dockerfile index 47f2241a5..51fffd073 100644 --- a/autobrr/Dockerfile +++ b/autobrr/Dockerfile @@ -39,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/baikal/Dockerfile b/baikal/Dockerfile index c52113050..b07304081 100644 --- a/baikal/Dockerfile +++ b/baikal/Dockerfile @@ -38,7 +38,7 @@ RUN \ ################## # Copy local files COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=SC2114 diff --git a/battybirdnet-pi/Dockerfile b/battybirdnet-pi/Dockerfile index b8bdecae2..4ec646f4d 100644 --- a/battybirdnet-pi/Dockerfile +++ b/battybirdnet-pi/Dockerfile @@ -133,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/bazarr/Dockerfile b/bazarr/Dockerfile index 6819ac7aa..210ab207e 100644 --- a/bazarr/Dockerfile +++ b/bazarr/Dockerfile @@ -39,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/binance-trading-bot/Dockerfile b/binance-trading-bot/Dockerfile index 662a4a55b..1941d44d3 100644 --- a/binance-trading-bot/Dockerfile +++ b/binance-trading-bot/Dockerfile @@ -54,7 +54,7 @@ RUN \ # Add rootfs COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/birdnet-go/Dockerfile b/birdnet-go/Dockerfile index 67c85d19a..a538e9c65 100644 --- a/birdnet-go/Dockerfile +++ b/birdnet-go/Dockerfile @@ -34,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/birdnet-pi/Dockerfile b/birdnet-pi/Dockerfile index 3199b54e5..c79a651c6 100644 --- a/birdnet-pi/Dockerfile +++ b/birdnet-pi/Dockerfile @@ -40,7 +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 find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; RUN \ # Install dependencies echo "Install dependencies" && \ diff --git a/bitwarden/Dockerfile b/bitwarden/Dockerfile index 88a6d1e06..63502d097 100644 --- a/bitwarden/Dockerfile +++ b/bitwarden/Dockerfile @@ -63,7 +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 find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; RUN chmod +x /etc/s6-overlay/s6-rc.d/*/run diff --git a/booksonic_air/Dockerfile b/booksonic_air/Dockerfile index 2046feb9e..a498add85 100644 --- a/booksonic_air/Dockerfile +++ b/booksonic_air/Dockerfile @@ -42,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/browser_brave/Dockerfile b/browser_brave/Dockerfile index 442803a2b..553513e46 100644 --- a/browser_brave/Dockerfile +++ b/browser_brave/Dockerfile @@ -58,7 +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 find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; RUN chmod 777 /etc/usr/bin/wrapped-* diff --git a/browser_chromium/Dockerfile b/browser_chromium/Dockerfile index 442803a2b..553513e46 100644 --- a/browser_chromium/Dockerfile +++ b/browser_chromium/Dockerfile @@ -58,7 +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 find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; RUN chmod 777 /etc/usr/bin/wrapped-* diff --git a/browserless_chrome/Dockerfile b/browserless_chrome/Dockerfile index 177c8d0bc..a8abd097b 100644 --- a/browserless_chrome/Dockerfile +++ b/browserless_chrome/Dockerfile @@ -36,7 +36,7 @@ USER root # Add rootfs COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/calibre/Dockerfile b/calibre/Dockerfile index 1b953d5d7..9c0fa5163 100644 --- a/calibre/Dockerfile +++ b/calibre/Dockerfile @@ -48,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/calibre_web/Dockerfile b/calibre_web/Dockerfile index 2b5e586b3..532fd29f8 100644 --- a/calibre_web/Dockerfile +++ b/calibre_web/Dockerfile @@ -50,7 +50,7 @@ RUN \ # Copy local files COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/changedetection.io/Dockerfile b/changedetection.io/Dockerfile index 3b8efb204..4423315e3 100644 --- a/changedetection.io/Dockerfile +++ b/changedetection.io/Dockerfile @@ -40,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/cloudcommander/Dockerfile b/cloudcommander/Dockerfile index d7e82fd76..8a72a6c2e 100644 --- a/cloudcommander/Dockerfile +++ b/cloudcommander/Dockerfile @@ -33,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/codex/Dockerfile b/codex/Dockerfile index 2fc1cb779..7215a046a 100644 --- a/codex/Dockerfile +++ b/codex/Dockerfile @@ -33,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/collabora/Dockerfile b/collabora/Dockerfile index f4b4664c4..bf62dccdc 100644 --- a/collabora/Dockerfile +++ b/collabora/Dockerfile @@ -40,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/comixed/Dockerfile b/comixed/Dockerfile index 764afd305..ca2f62e7a 100644 --- a/comixed/Dockerfile +++ b/comixed/Dockerfile @@ -49,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/elasticsearch/Dockerfile b/elasticsearch/Dockerfile index 0e456db9a..43f0efdc7 100644 --- a/elasticsearch/Dockerfile +++ b/elasticsearch/Dockerfile @@ -47,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/emby/Dockerfile b/emby/Dockerfile index 18ad61357..fd96675d7 100644 --- a/emby/Dockerfile +++ b/emby/Dockerfile @@ -38,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/emby_beta/Dockerfile b/emby_beta/Dockerfile index a9cb57841..af95eebb6 100644 --- a/emby_beta/Dockerfile +++ b/emby_beta/Dockerfile @@ -38,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/enedisgateway2mqtt/Dockerfile b/enedisgateway2mqtt/Dockerfile index c880240fd..cd724045f 100644 --- a/enedisgateway2mqtt/Dockerfile +++ b/enedisgateway2mqtt/Dockerfile @@ -33,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/enedisgateway2mqtt_dev/Dockerfile b/enedisgateway2mqtt_dev/Dockerfile index d85158e43..8c4a6cd1f 100644 --- a/enedisgateway2mqtt_dev/Dockerfile +++ b/enedisgateway2mqtt_dev/Dockerfile @@ -33,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/ente/Dockerfile b/ente/Dockerfile index 5f53fbcd8..4386bd03c 100644 --- a/ente/Dockerfile +++ b/ente/Dockerfile @@ -102,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -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 78fcb7736..85b116620 100644 --- a/epicgamesfree/Dockerfile +++ b/epicgamesfree/Dockerfile @@ -36,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/filebrowser/Dockerfile b/filebrowser/Dockerfile index 7f0c44858..99177e8f6 100644 --- a/filebrowser/Dockerfile +++ b/filebrowser/Dockerfile @@ -35,7 +35,7 @@ USER root # Add rootfs COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/filebrowser_quantum/Dockerfile b/filebrowser_quantum/Dockerfile index 172a7ba20..9a27e138c 100644 --- a/filebrowser_quantum/Dockerfile +++ b/filebrowser_quantum/Dockerfile @@ -35,7 +35,7 @@ USER root # Add rootfs COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/fireflyiii/Dockerfile b/fireflyiii/Dockerfile index ba27f44c2..b1a9d2587 100644 --- a/fireflyiii/Dockerfile +++ b/fireflyiii/Dockerfile @@ -45,7 +45,7 @@ RUN \ # Copy local files COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/fireflyiii_data_importer/Dockerfile b/fireflyiii_data_importer/Dockerfile index fcce6e69d..f6c842fbc 100644 --- a/fireflyiii_data_importer/Dockerfile +++ b/fireflyiii_data_importer/Dockerfile @@ -47,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/fireflyiii_fints_importer/Dockerfile b/fireflyiii_fints_importer/Dockerfile index d81a40036..6c1d34197 100644 --- a/fireflyiii_fints_importer/Dockerfile +++ b/fireflyiii_fints_importer/Dockerfile @@ -34,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/flaresolverr/Dockerfile b/flaresolverr/Dockerfile index 0c48fa3a1..b75090508 100644 --- a/flaresolverr/Dockerfile +++ b/flaresolverr/Dockerfile @@ -35,7 +35,7 @@ USER root # Add rootfs COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/flexget/Dockerfile b/flexget/Dockerfile index 12cf94af5..c2368cbe3 100644 --- a/flexget/Dockerfile +++ b/flexget/Dockerfile @@ -49,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/free_games_claimer/Dockerfile b/free_games_claimer/Dockerfile index 0e6a17bb4..597e49ceb 100644 --- a/free_games_claimer/Dockerfile +++ b/free_games_claimer/Dockerfile @@ -33,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/gazpar2mqtt/Dockerfile b/gazpar2mqtt/Dockerfile index e2d655341..2d15417c0 100644 --- a/gazpar2mqtt/Dockerfile +++ b/gazpar2mqtt/Dockerfile @@ -36,7 +36,7 @@ ENV TZ=Europe/Paris # Add rootfs COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/gitea/Dockerfile b/gitea/Dockerfile index 39bae75db..3bcc5ae55 100644 --- a/gitea/Dockerfile +++ b/gitea/Dockerfile @@ -36,7 +36,7 @@ USER root # Add rootfs COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/grampsweb/Dockerfile b/grampsweb/Dockerfile index 3116ca409..cf6bff686 100644 --- a/grampsweb/Dockerfile +++ b/grampsweb/Dockerfile @@ -34,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/grav/Dockerfile b/grav/Dockerfile index 86db91e4b..22a5e7a5e 100644 --- a/grav/Dockerfile +++ b/grav/Dockerfile @@ -39,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/guacamole/Dockerfile b/guacamole/Dockerfile index 09ca8223a..e2a19297c 100644 --- a/guacamole/Dockerfile +++ b/guacamole/Dockerfile @@ -60,7 +60,7 @@ RUN \ # Add rootfs COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/immich/Dockerfile b/immich/Dockerfile index 8b3bdf01b..57887a140 100644 --- a/immich/Dockerfile +++ b/immich/Dockerfile @@ -48,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/immich_cuda/Dockerfile b/immich_cuda/Dockerfile index 5f8760805..ac767637c 100644 --- a/immich_cuda/Dockerfile +++ b/immich_cuda/Dockerfile @@ -48,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/immich_frame/Dockerfile b/immich_frame/Dockerfile index f42e68669..0262e6dfa 100644 --- a/immich_frame/Dockerfile +++ b/immich_frame/Dockerfile @@ -35,7 +35,7 @@ USER root # Add rootfs COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/immich_noml/Dockerfile b/immich_noml/Dockerfile index 5f8760805..ac767637c 100644 --- a/immich_noml/Dockerfile +++ b/immich_noml/Dockerfile @@ -48,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/immich_openvino/Dockerfile b/immich_openvino/Dockerfile index b667d95ea..ea24c70b9 100644 --- a/immich_openvino/Dockerfile +++ b/immich_openvino/Dockerfile @@ -46,7 +46,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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/immich_power_tools/Dockerfile b/immich_power_tools/Dockerfile index f42e68669..0262e6dfa 100644 --- a/immich_power_tools/Dockerfile +++ b/immich_power_tools/Dockerfile @@ -35,7 +35,7 @@ USER root # Add rootfs COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/inadyn/Dockerfile b/inadyn/Dockerfile index 5d1e01d14..3a48bcb06 100644 --- a/inadyn/Dockerfile +++ b/inadyn/Dockerfile @@ -37,7 +37,7 @@ ENV LANG='C.UTF-8'\ # Add rootfs COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/jackett/Dockerfile b/jackett/Dockerfile index 1f875943b..72fad9d4a 100644 --- a/jackett/Dockerfile +++ b/jackett/Dockerfile @@ -41,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/jellyfin/Dockerfile b/jellyfin/Dockerfile index 45767e5a0..9fd37acec 100644 --- a/jellyfin/Dockerfile +++ b/jellyfin/Dockerfile @@ -49,7 +49,7 @@ RUN \ # Add rootfs COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/jellyseerr/Dockerfile b/jellyseerr/Dockerfile index 124506a5d..6317777b0 100644 --- a/jellyseerr/Dockerfile +++ b/jellyseerr/Dockerfile @@ -45,7 +45,7 @@ RUN \ # Copy local files COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/joal/Dockerfile b/joal/Dockerfile index 77bf24ec4..13eac52e7 100644 --- a/joal/Dockerfile +++ b/joal/Dockerfile @@ -46,7 +46,7 @@ RUN \ # Add rootfs COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/joplin/Dockerfile b/joplin/Dockerfile index 50c5fcf86..70f44a6bd 100644 --- a/joplin/Dockerfile +++ b/joplin/Dockerfile @@ -41,7 +41,7 @@ ENV \ # Add rootfs COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/kometa/Dockerfile b/kometa/Dockerfile index 78e4192f5..504ad7d6e 100644 --- a/kometa/Dockerfile +++ b/kometa/Dockerfile @@ -47,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/librespeed/Dockerfile b/librespeed/Dockerfile index 95e9ba4b6..58876525a 100644 --- a/librespeed/Dockerfile +++ b/librespeed/Dockerfile @@ -38,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/lidarr/Dockerfile b/lidarr/Dockerfile index ced7fa2e8..66149657d 100644 --- a/lidarr/Dockerfile +++ b/lidarr/Dockerfile @@ -38,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/linkwarden/Dockerfile b/linkwarden/Dockerfile index a69309058..d29354c9f 100644 --- a/linkwarden/Dockerfile +++ b/linkwarden/Dockerfile @@ -48,7 +48,7 @@ RUN \ # Add rootfs COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -82,10 +82,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - # Modify .env location RUN sed -i "s|/\.env|/data_linkwarden/\.env|g" /etc/cont-init.d/*.sh diff --git a/mealie/Dockerfile b/mealie/Dockerfile index 10ed3369f..1699af7fa 100644 --- a/mealie/Dockerfile +++ b/mealie/Dockerfile @@ -65,7 +65,7 @@ RUN \ # Add rootfs COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -99,10 +99,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - RUN \ # Apply custom instructions to run.sh sed -i '1d' /app/run.sh \ diff --git a/monica/Dockerfile b/monica/Dockerfile index 751cdc656..e34cb9e4a 100644 --- a/monica/Dockerfile +++ b/monica/Dockerfile @@ -34,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -104,10 +104,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - ENTRYPOINT [ "/usr/bin/env" ] CMD [ "/ha_entrypoint.sh" ] diff --git a/mylar3/Dockerfile b/mylar3/Dockerfile index 3e18d2d4c..cc61f9d8e 100644 --- a/mylar3/Dockerfile +++ b/mylar3/Dockerfile @@ -38,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -72,10 +72,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - # #WORKDIR / #ENTRYPOINT [ "/usr/bin/env" ] diff --git a/navidrome/Dockerfile b/navidrome/Dockerfile index c07d89905..61cfc6df6 100644 --- a/navidrome/Dockerfile +++ b/navidrome/Dockerfile @@ -35,7 +35,7 @@ USER root # Copy local files COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -71,10 +71,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - ENTRYPOINT [ "/ha_entrypoint.sh" ] ############ diff --git a/netalertx/Dockerfile b/netalertx/Dockerfile index 533fe40db..13d306536 100644 --- a/netalertx/Dockerfile +++ b/netalertx/Dockerfile @@ -56,7 +56,7 @@ USER 0 # Add rootfs COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -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 84a31f43b..279ffccb1 100644 --- a/nextcloud/Dockerfile +++ b/nextcloud/Dockerfile @@ -75,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -111,10 +111,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - # Correct modifications ARG CONFIGLOCATION="/www/nextcloud/config" # hadolint ignore=SC2015, SC2013, SC2086, SC2016 diff --git a/nzbget/Dockerfile b/nzbget/Dockerfile index 136476683..81c97cfdc 100644 --- a/nzbget/Dockerfile +++ b/nzbget/Dockerfile @@ -38,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -72,10 +72,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - # #WORKDIR / #ENTRYPOINT [ "/usr/bin/env" ] diff --git a/ombi/Dockerfile b/ombi/Dockerfile index 3b18a238a..44a94c602 100644 --- a/ombi/Dockerfile +++ b/ombi/Dockerfile @@ -39,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -73,10 +73,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - # #WORKDIR / #ENTRYPOINT [ "/usr/bin/env" ] diff --git a/omni-tools/Dockerfile b/omni-tools/Dockerfile index f0172a9b5..a60efec2f 100644 --- a/omni-tools/Dockerfile +++ b/omni-tools/Dockerfile @@ -37,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -71,10 +71,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - VOLUME [ "/data" ] WORKDIR / diff --git a/openproject/Dockerfile b/openproject/Dockerfile index 476beaedb..47398ae0e 100644 --- a/openproject/Dockerfile +++ b/openproject/Dockerfile @@ -44,7 +44,7 @@ USER root # Copy local files COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -80,10 +80,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - ENTRYPOINT [ "/usr/bin/env" ] CMD [ "/ha_entrypoint.sh" ] diff --git a/organizr/Dockerfile b/organizr/Dockerfile index 29e2b9da6..7b7ab6d5b 100644 --- a/organizr/Dockerfile +++ b/organizr/Dockerfile @@ -37,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -71,10 +71,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - RUN sed -i "s|/usr/bin/env|/usr/bin/with-contenv|g" /etc/cont-init.d/* #ENTRYPOINT [ "/usr/bin/env" ] diff --git a/overseerr/Dockerfile b/overseerr/Dockerfile index 4a9f86ba6..08688733a 100644 --- a/overseerr/Dockerfile +++ b/overseerr/Dockerfile @@ -39,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -73,10 +73,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - # #WORKDIR / #ENTRYPOINT [ "/usr/bin/env" ] diff --git a/photoprism/Dockerfile b/photoprism/Dockerfile index 373726c43..12c08e9c6 100644 --- a/photoprism/Dockerfile +++ b/photoprism/Dockerfile @@ -39,7 +39,7 @@ RUN \ # Add rootfs COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -78,10 +78,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - ENTRYPOINT [ "/usr/bin/env" ] CMD [ "/ha_entrypoint.sh" ] WORKDIR "/data/photoprism" diff --git a/piwigo/Dockerfile b/piwigo/Dockerfile index a8467932d..3e19b1514 100644 --- a/piwigo/Dockerfile +++ b/piwigo/Dockerfile @@ -38,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -74,10 +74,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - # hadolint ignore=SC2013 RUN \ for file in $(grep -Esril "/local/config/addons_config/piwigo" /etc /defaults); do sed -i "s=/local/config/addons_config/piwigo=/local/config=g" "$file"; done diff --git a/plex/Dockerfile b/plex/Dockerfile index d1a8fb9a1..499a50a82 100644 --- a/plex/Dockerfile +++ b/plex/Dockerfile @@ -50,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -86,10 +86,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - # #WORKDIR / #ENTRYPOINT [ "/usr/bin/env" ] diff --git a/portainer/Dockerfile b/portainer/Dockerfile index 42802392e..074dc9aee 100644 --- a/portainer/Dockerfile +++ b/portainer/Dockerfile @@ -56,7 +56,7 @@ RUN \ # Add rootfs COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -90,10 +90,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - RUN chmod 777 /etc/services.d/*/* # #WORKDIR / diff --git a/portainer_agent/Dockerfile b/portainer_agent/Dockerfile index 7c33f79a7..deda9a3df 100644 --- a/portainer_agent/Dockerfile +++ b/portainer_agent/Dockerfile @@ -47,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/postgres_15/Dockerfile b/postgres_15/Dockerfile index 53132df3a..9f0fa3f1d 100644 --- a/postgres_15/Dockerfile +++ b/postgres_15/Dockerfile @@ -40,7 +40,7 @@ RUN \ # Add rootfs COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -74,10 +74,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - RUN sed -i "/Termination signal received/a gosu postgres pg_ctl -D \"\$PGDATA\" -m fast stop" /ha_entrypoint.sh WORKDIR /config diff --git a/prowlarr/Dockerfile b/prowlarr/Dockerfile index c5b64ad1a..484563e85 100644 --- a/prowlarr/Dockerfile +++ b/prowlarr/Dockerfile @@ -38,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -75,10 +75,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - # #WORKDIR / #ENTRYPOINT [ "/usr/bin/env" ] diff --git a/qbittorrent/Dockerfile b/qbittorrent/Dockerfile index a1d2db7de..de633b1bd 100644 --- a/qbittorrent/Dockerfile +++ b/qbittorrent/Dockerfile @@ -91,7 +91,7 @@ RUN \ ################## # Copy local files COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -138,7 +138,7 @@ ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templat RUN chmod 0755 /usr/local/lib/bashio-standalone.sh COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; ############ diff --git a/radarr/Dockerfile b/radarr/Dockerfile index dd985971a..5b8599a6d 100644 --- a/radarr/Dockerfile +++ b/radarr/Dockerfile @@ -38,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -76,10 +76,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - # #WORKDIR / #ENTRYPOINT [ "/usr/bin/env" ] diff --git a/readarr/Dockerfile b/readarr/Dockerfile index 4c030270f..b3b1a8ed6 100644 --- a/readarr/Dockerfile +++ b/readarr/Dockerfile @@ -39,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -73,10 +73,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - # #WORKDIR / #ENTRYPOINT [ "/usr/bin/env" ] diff --git a/requestrr/Dockerfile b/requestrr/Dockerfile index 18c01e034..f186d4f6a 100644 --- a/requestrr/Dockerfile +++ b/requestrr/Dockerfile @@ -38,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -75,10 +75,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - # WORKDIR / ENTRYPOINT [ "/usr/bin/env" ] diff --git a/resiliosync/Dockerfile b/resiliosync/Dockerfile index d2bb6e100..bee9eabaf 100644 --- a/resiliosync/Dockerfile +++ b/resiliosync/Dockerfile @@ -56,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -94,10 +94,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - # #WORKDIR / #ENTRYPOINT [ "/usr/bin/env" ] diff --git a/sabnzbd/Dockerfile b/sabnzbd/Dockerfile index 136476683..81c97cfdc 100644 --- a/sabnzbd/Dockerfile +++ b/sabnzbd/Dockerfile @@ -38,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -72,10 +72,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - # #WORKDIR / #ENTRYPOINT [ "/usr/bin/env" ] diff --git a/scrutiny/Dockerfile b/scrutiny/Dockerfile index 944126f58..c2c796b49 100644 --- a/scrutiny/Dockerfile +++ b/scrutiny/Dockerfile @@ -33,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -70,10 +70,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - ENTRYPOINT [ "/usr/bin/env" ] CMD [ "/ha_entrypoint.sh" ] diff --git a/scrutiny_fa/Dockerfile b/scrutiny_fa/Dockerfile index bcc7e4bc3..61f6e33b6 100644 --- a/scrutiny_fa/Dockerfile +++ b/scrutiny_fa/Dockerfile @@ -33,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -67,10 +67,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - RUN sed -i "1a if ! bashio::require.unprotected; then bashio::addon.stop; fi" /etc/cont-init.d/90-run.sh ############ diff --git a/seafile/Dockerfile b/seafile/Dockerfile index 5192d6a44..7cd99da6c 100644 --- a/seafile/Dockerfile +++ b/seafile/Dockerfile @@ -39,7 +39,7 @@ USER root # Copy local files COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -73,11 +73,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - - ENTRYPOINT [ "/usr/bin/env" ] CMD [ "/ha_entrypoint.sh" ] diff --git a/signalk/Dockerfile b/signalk/Dockerfile index 73fb46c89..e1e9fb487 100644 --- a/signalk/Dockerfile +++ b/signalk/Dockerfile @@ -42,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -76,10 +76,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - # Restart the addon on crash RUN echo "bashio::addon.restart" >> /ha_entrypoint.sh diff --git a/social_to_mealie/Dockerfile b/social_to_mealie/Dockerfile index a604d5743..f62a21ff0 100644 --- a/social_to_mealie/Dockerfile +++ b/social_to_mealie/Dockerfile @@ -35,7 +35,7 @@ USER root # Add rootfs COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -69,10 +69,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - ENTRYPOINT [ "/ha_entrypoint.sh" ] ############ diff --git a/sonarr/Dockerfile b/sonarr/Dockerfile index cb7870531..8b4872958 100644 --- a/sonarr/Dockerfile +++ b/sonarr/Dockerfile @@ -39,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -76,10 +76,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - # #WORKDIR / #ENTRYPOINT [ "/usr/bin/env" ] diff --git a/sponsorblockcast/Dockerfile b/sponsorblockcast/Dockerfile index c816eadcf..9f05e90e4 100644 --- a/sponsorblockcast/Dockerfile +++ b/sponsorblockcast/Dockerfile @@ -35,7 +35,7 @@ USER root # Add rootfs COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -69,10 +69,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - # Entrypoint logic #WORKDIR / diff --git a/spotweb/Dockerfile b/spotweb/Dockerfile index 94c07c327..bcdcea0f4 100644 --- a/spotweb/Dockerfile +++ b/spotweb/Dockerfile @@ -92,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -126,10 +126,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - ############ # 5 Labels # ############ diff --git a/tandoor_recipes/Dockerfile b/tandoor_recipes/Dockerfile index b88259670..6f594b9ea 100644 --- a/tandoor_recipes/Dockerfile +++ b/tandoor_recipes/Dockerfile @@ -33,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -67,11 +67,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - - #WORKDIR /data/recipes ENTRYPOINT [ "/usr/bin/env" ] CMD [ "/ha_entrypoint.sh" ] diff --git a/tdarr/Dockerfile b/tdarr/Dockerfile index 0e5e14a4c..413bea919 100644 --- a/tdarr/Dockerfile +++ b/tdarr/Dockerfile @@ -33,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -67,10 +67,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - ############ # 5 Labels # ############ diff --git a/teamspeak/Dockerfile b/teamspeak/Dockerfile index 2f62bb0d4..2447c1522 100644 --- a/teamspeak/Dockerfile +++ b/teamspeak/Dockerfile @@ -40,7 +40,7 @@ VOLUME [ "/data:/var/ts3server/" ] # Add rootfs COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -74,10 +74,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - # #WORKDIR / #ENTRYPOINT [ "/usr/bin/env" ] diff --git a/transmission/Dockerfile b/transmission/Dockerfile index d5c8407ac..8a0ce46f5 100644 --- a/transmission/Dockerfile +++ b/transmission/Dockerfile @@ -49,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -83,10 +83,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - # #WORKDIR / #ENTRYPOINT [ "/usr/bin/env" ] diff --git a/transmission_openvpn/Dockerfile b/transmission_openvpn/Dockerfile index 367ef632a..890762b5c 100644 --- a/transmission_openvpn/Dockerfile +++ b/transmission_openvpn/Dockerfile @@ -39,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -73,11 +73,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - - CMD [ "/ha_entrypoint.sh" ] SHELL ["/bin/bash", "-o", "pipefail", "-c"] diff --git a/ubooquity/Dockerfile b/ubooquity/Dockerfile index 66f3c72a5..86995637c 100644 --- a/ubooquity/Dockerfile +++ b/ubooquity/Dockerfile @@ -49,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -86,10 +86,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - # #WORKDIR / #ENTRYPOINT [ "/usr/bin/env" ] diff --git a/unpackerr/Dockerfile b/unpackerr/Dockerfile index 7b9e43e9e..75a1550a9 100644 --- a/unpackerr/Dockerfile +++ b/unpackerr/Dockerfile @@ -37,7 +37,7 @@ ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templat ################## # Copy local files COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -71,10 +71,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - ############ # 5 Labels # ############ diff --git a/webtop_kde/Dockerfile b/webtop_kde/Dockerfile index b15117b12..d78767ef6 100644 --- a/webtop_kde/Dockerfile +++ b/webtop_kde/Dockerfile @@ -55,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -89,10 +89,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - #WORKDIR / ENTRYPOINT [ "/usr/bin/env" ] CMD [ "/ha_entrypoint.sh" ] diff --git a/webtrees/Dockerfile b/webtrees/Dockerfile index bec4702b3..2ba13ec39 100644 --- a/webtrees/Dockerfile +++ b/webtrees/Dockerfile @@ -55,7 +55,7 @@ RUN \ # Add rootfs COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -91,10 +91,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - ENTRYPOINT [ "/usr/bin/env" ] CMD [ "/ha_entrypoint.sh" ] diff --git a/wger/Dockerfile b/wger/Dockerfile index ac18681c2..00d79ad2a 100644 --- a/wger/Dockerfile +++ b/wger/Dockerfile @@ -46,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -80,10 +80,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - USER wger #ENTRYPOINT ["/usr/bin/env"] #CMD ["/ha_entrypoint.sh"] diff --git a/whatsapper/Dockerfile b/whatsapper/Dockerfile index 0938bb824..71645f3f1 100644 --- a/whatsapper/Dockerfile +++ b/whatsapper/Dockerfile @@ -35,7 +35,7 @@ USER root # Copy local files # COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -71,9 +71,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -#COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - #ENTRYPOINT [ "/ha_entrypoint.sh" ] ############ diff --git a/whoogle/Dockerfile b/whoogle/Dockerfile index 1dca4a686..7442794ee 100644 --- a/whoogle/Dockerfile +++ b/whoogle/Dockerfile @@ -39,7 +39,7 @@ RUN \ # Copy local files COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -73,11 +73,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - - ENTRYPOINT [ "/usr/bin/env" ] CMD [ "/ha_entrypoint.sh" ] diff --git a/xteve/Dockerfile b/xteve/Dockerfile index 06707d96b..1fa47e08f 100644 --- a/xteve/Dockerfile +++ b/xteve/Dockerfile @@ -39,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -73,10 +73,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - # #WORKDIR / #ENTRYPOINT [ "/usr/bin/env" ] diff --git a/zoneminder/Dockerfile b/zoneminder/Dockerfile index e15485064..2dcab9181 100644 --- a/zoneminder/Dockerfile +++ b/zoneminder/Dockerfile @@ -44,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -78,11 +78,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - - ENTRYPOINT [ "/usr/bin/env" ] CMD [ "/ha_entrypoint.sh" ] diff --git a/zzz_archived_code-server/Dockerfile b/zzz_archived_code-server/Dockerfile index 0f53c3a24..b8b02db55 100644 --- a/zzz_archived_code-server/Dockerfile +++ b/zzz_archived_code-server/Dockerfile @@ -39,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -73,10 +73,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - # #WORKDIR / #ENTRYPOINT [ "/usr/bin/env" ] diff --git a/zzz_archived_omada/Dockerfile b/zzz_archived_omada/Dockerfile index 883921300..1eeeccdbb 100644 --- a/zzz_archived_omada/Dockerfile +++ b/zzz_archived_omada/Dockerfile @@ -37,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -71,10 +71,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; - - #ENTRYPOINT [ "/ha_entrypoint.sh" ] #CMD [ "/ha_entrypoint.sh" ] diff --git a/zzz_archived_omada_v3/Dockerfile b/zzz_archived_omada_v3/Dockerfile index 68537eb4b..ab92d67cf 100644 --- a/zzz_archived_omada_v3/Dockerfile +++ b/zzz_archived_omada_v3/Dockerfile @@ -43,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/zzz_archived_paperless_ngx/Dockerfile b/zzz_archived_paperless_ngx/Dockerfile index 73182c60a..beb9e5ad6 100644 --- a/zzz_archived_paperless_ngx/Dockerfile +++ b/zzz_archived_paperless_ngx/Dockerfile @@ -37,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/zzz_archived_papermerge/Dockerfile b/zzz_archived_papermerge/Dockerfile index 840561941..ffce7ef21 100644 --- a/zzz_archived_papermerge/Dockerfile +++ b/zzz_archived_papermerge/Dockerfile @@ -46,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005 diff --git a/zzz_archived_plex_meta_manager/Dockerfile b/zzz_archived_plex_meta_manager/Dockerfile index bd13e9ac6..013f7f0c1 100644 --- a/zzz_archived_plex_meta_manager/Dockerfile +++ b/zzz_archived_plex_meta_manager/Dockerfile @@ -47,7 +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 {} \; +RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; # Uses /bin for compatibility purposes # hadolint ignore=DL4005