diff --git a/addons_updater/Dockerfile b/addons_updater/Dockerfile index 928467f98..dd52354db 100644 --- a/addons_updater/Dockerfile +++ b/addons_updater/Dockerfile @@ -35,12 +35,6 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh" diff --git a/arpspoof/Dockerfile b/arpspoof/Dockerfile index e925c1003..6208ff32f 100644 --- a/arpspoof/Dockerfile +++ b/arpspoof/Dockerfile @@ -35,12 +35,6 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 00-global_var.sh" diff --git a/autobrr/Dockerfile b/autobrr/Dockerfile index 7eef15484..eaa10b6fc 100644 --- a/autobrr/Dockerfile +++ b/autobrr/Dockerfile @@ -60,12 +60,6 @@ RUN \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 90-disable_ingress.sh 00-local_mounts.sh 00-smb_mounts.sh" diff --git a/baikal/Dockerfile b/baikal/Dockerfile index 1f7bc3a82..a7c9355b6 100644 --- a/baikal/Dockerfile +++ b/baikal/Dockerfile @@ -62,12 +62,6 @@ RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get && eval /./automatic_packages.sh "${PACKAGES:-}" \ && rm /automatic_packages.sh -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - ################ # 4 Entrypoint # ################ diff --git a/bazarr/Dockerfile b/bazarr/Dockerfile index f902775a7..4fb387762 100644 --- a/bazarr/Dockerfile +++ b/bazarr/Dockerfile @@ -60,12 +60,6 @@ RUN \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 00-local_mounts.sh 00-smb_mounts.sh" diff --git a/binance-trading-bot/Dockerfile b/binance-trading-bot/Dockerfile index da856e1d0..1e35fe605 100644 --- a/binance-trading-bot/Dockerfile +++ b/binance-trading-bot/Dockerfile @@ -35,12 +35,6 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Install trading view ENV FLASK_APP=main.py ENV FLASK_ENV=production diff --git a/bitwarden/Dockerfile b/bitwarden/Dockerfile index af4cb0989..af42f7c5f 100644 --- a/bitwarden/Dockerfile +++ b/bitwarden/Dockerfile @@ -42,12 +42,6 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh" diff --git a/booksonic_air/Dockerfile b/booksonic_air/Dockerfile index bf2f7d911..7937c0722 100644 --- a/booksonic_air/Dockerfile +++ b/booksonic_air/Dockerfile @@ -62,12 +62,6 @@ RUN \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 00-local_mounts.sh 00-smb_mounts.sh" diff --git a/browserless_chrome/Dockerfile b/browserless_chrome/Dockerfile index 6f2ccf849..20ea91758 100644 --- a/browserless_chrome/Dockerfile +++ b/browserless_chrome/Dockerfile @@ -39,12 +39,6 @@ RUN sed -i "2a /./entrypoint.sh" start.sh # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh" diff --git a/calibre/Dockerfile b/calibre/Dockerfile index 631dd35bc..febb9cead 100644 --- a/calibre/Dockerfile +++ b/calibre/Dockerfile @@ -66,12 +66,6 @@ RUN \ # Copy local files COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 00-local_mounts.sh 00-smb_mounts.sh" diff --git a/calibre_web/Dockerfile b/calibre_web/Dockerfile index 28c46fb12..4288f7b59 100644 --- a/calibre_web/Dockerfile +++ b/calibre_web/Dockerfile @@ -70,12 +70,6 @@ RUN \ # Copy local files COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 00-global_var.sh 00-local_mounts.sh 00-smb_mounts.sh" diff --git a/cloudcommander/Dockerfile b/cloudcommander/Dockerfile index 464c5202c..e1a2e63dc 100644 --- a/cloudcommander/Dockerfile +++ b/cloudcommander/Dockerfile @@ -34,12 +34,6 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 00-local_mounts.sh 00-smb_mounts.sh" diff --git a/code-server/Dockerfile b/code-server/Dockerfile index f86377d04..cf5eb2783 100644 --- a/code-server/Dockerfile +++ b/code-server/Dockerfile @@ -60,12 +60,6 @@ RUN \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 00-local_mounts.sh 00-smb_mounts.sh" diff --git a/elasticsearch/Dockerfile b/elasticsearch/Dockerfile index cd5030776..a9e78f765 100644 --- a/elasticsearch/Dockerfile +++ b/elasticsearch/Dockerfile @@ -47,12 +47,6 @@ RUN sed -i '5a echo "Data location moved. Please wait while elasticsearch starts # Copy local files COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh" diff --git a/emby/Dockerfile b/emby/Dockerfile index 497e724a9..94406e95a 100644 --- a/emby/Dockerfile +++ b/emby/Dockerfile @@ -59,12 +59,6 @@ RUN \ # Copy local files COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 00-local_mounts.sh 00-smb_mounts.sh" diff --git a/enedisgateway2mqtt/Dockerfile b/enedisgateway2mqtt/Dockerfile index f4152c6ab..b9aab76c6 100644 --- a/enedisgateway2mqtt/Dockerfile +++ b/enedisgateway2mqtt/Dockerfile @@ -34,12 +34,6 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 00-global_var.sh" diff --git a/enedisgateway2mqtt_dev/Dockerfile b/enedisgateway2mqtt_dev/Dockerfile index 6d5ad6efc..2067366d6 100644 --- a/enedisgateway2mqtt_dev/Dockerfile +++ b/enedisgateway2mqtt_dev/Dockerfile @@ -34,12 +34,6 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 00-global_var.sh" diff --git a/epicgamesfree/Dockerfile b/epicgamesfree/Dockerfile index 376b21019..d5b4a012e 100644 --- a/epicgamesfree/Dockerfile +++ b/epicgamesfree/Dockerfile @@ -36,12 +36,6 @@ RUN sed -i "1a /./entrypoint.sh" /usr/local/bin/docker-entrypoint.sh # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh" diff --git a/filebrowser/Dockerfile b/filebrowser/Dockerfile index 0b230b8bf..89c606dd8 100644 --- a/filebrowser/Dockerfile +++ b/filebrowser/Dockerfile @@ -35,12 +35,6 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 00-local_mounts.sh 00-smb_mounts.sh" diff --git a/fireflyiii/Dockerfile b/fireflyiii/Dockerfile index a8032f979..5647d4cd6 100644 --- a/fireflyiii/Dockerfile +++ b/fireflyiii/Dockerfile @@ -45,12 +45,6 @@ RUN \ # Copy local files COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 00-global_var.sh 90-config_yaml.sh" diff --git a/fireflyiii_data_importer/Dockerfile b/fireflyiii_data_importer/Dockerfile index 46ada9ba7..e3a8367ea 100644 --- a/fireflyiii_data_importer/Dockerfile +++ b/fireflyiii_data_importer/Dockerfile @@ -41,12 +41,6 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Copy local files COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 00-global_var.sh 90-config_yaml.sh" diff --git a/fireflyiii_fints_importer/Dockerfile b/fireflyiii_fints_importer/Dockerfile index 82c49bca5..18f10950e 100644 --- a/fireflyiii_fints_importer/Dockerfile +++ b/fireflyiii_fints_importer/Dockerfile @@ -35,12 +35,6 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Copy local files COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh" diff --git a/flaresolverr/Dockerfile b/flaresolverr/Dockerfile index ce39e671e..977025f7b 100644 --- a/flaresolverr/Dockerfile +++ b/flaresolverr/Dockerfile @@ -35,12 +35,6 @@ USER root # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh" diff --git a/flexget/Dockerfile b/flexget/Dockerfile index 7735c1076..1e5ff06ff 100644 --- a/flexget/Dockerfile +++ b/flexget/Dockerfile @@ -69,12 +69,6 @@ RUN \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 00-global_var.sh" diff --git a/free_games_claimer/Dockerfile b/free_games_claimer/Dockerfile index fd822ca1b..5319301ef 100644 --- a/free_games_claimer/Dockerfile +++ b/free_games_claimer/Dockerfile @@ -34,12 +34,6 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh" diff --git a/gazpar2mqtt/Dockerfile b/gazpar2mqtt/Dockerfile index 401075239..567b0286c 100644 --- a/gazpar2mqtt/Dockerfile +++ b/gazpar2mqtt/Dockerfile @@ -36,12 +36,6 @@ ENV TZ=Europe/Paris # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 90-config_yaml.sh" diff --git a/gitea/Dockerfile b/gitea/Dockerfile index f5a7374f5..ee8c26087 100644 --- a/gitea/Dockerfile +++ b/gitea/Dockerfile @@ -36,12 +36,6 @@ USER root # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh" diff --git a/grav/Dockerfile b/grav/Dockerfile index 5a80dfe4e..5f62e3555 100644 --- a/grav/Dockerfile +++ b/grav/Dockerfile @@ -60,12 +60,6 @@ RUN \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh" diff --git a/guacamole/Dockerfile b/guacamole/Dockerfile index 33781e4da..e4b1a1b6d 100644 --- a/guacamole/Dockerfile +++ b/guacamole/Dockerfile @@ -66,12 +66,6 @@ RUN \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh" diff --git a/immich/Dockerfile b/immich/Dockerfile index e4302df57..980a62400 100644 --- a/immich/Dockerfile +++ b/immich/Dockerfile @@ -78,12 +78,6 @@ RUN \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 00-global_var.sh 00-local_mounts.sh 00-smb_mounts.sh" diff --git a/inadyn/Dockerfile b/inadyn/Dockerfile index d1b58cc0b..acce088b6 100644 --- a/inadyn/Dockerfile +++ b/inadyn/Dockerfile @@ -37,12 +37,6 @@ ENV LANG='C.UTF-8'\ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh" diff --git a/jackett/Dockerfile b/jackett/Dockerfile index a31bcaad2..a09709719 100644 --- a/jackett/Dockerfile +++ b/jackett/Dockerfile @@ -62,12 +62,6 @@ ENV XDG_CONFIG_HOME="/config/addons_config" # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 00-local_mounts.sh 00-smb_mounts.sh" diff --git a/jellyfin/Dockerfile b/jellyfin/Dockerfile index 3820739e6..27b6d1fda 100644 --- a/jellyfin/Dockerfile +++ b/jellyfin/Dockerfile @@ -67,12 +67,6 @@ RUN \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 00-local_mounts.sh 00-smb_mounts.sh" diff --git a/jellyseerr/Dockerfile b/jellyseerr/Dockerfile index 787e14c5a..c2d542d89 100644 --- a/jellyseerr/Dockerfile +++ b/jellyseerr/Dockerfile @@ -42,12 +42,6 @@ RUN \ # Copy local files COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 00-local_mounts.sh 00-smb_mounts.sh" diff --git a/joal/Dockerfile b/joal/Dockerfile index 97c7a9cb4..54bc8b256 100644 --- a/joal/Dockerfile +++ b/joal/Dockerfile @@ -46,12 +46,6 @@ RUN \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Manual apps ENV PACKAGES="jq \ nginx" diff --git a/joplin/Dockerfile b/joplin/Dockerfile index efe896a4c..308362437 100644 --- a/joplin/Dockerfile +++ b/joplin/Dockerfile @@ -41,12 +41,6 @@ ENV \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 00-global_var.sh" diff --git a/lidarr/Dockerfile b/lidarr/Dockerfile index cb15b7cbb..fde34a0b3 100644 --- a/lidarr/Dockerfile +++ b/lidarr/Dockerfile @@ -59,12 +59,6 @@ RUN \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 00-local_mounts.sh 00-smb_mounts.sh" diff --git a/mealie/Dockerfile b/mealie/Dockerfile index de7200fde..a922b98a5 100644 --- a/mealie/Dockerfile +++ b/mealie/Dockerfile @@ -42,12 +42,6 @@ RUN grep -rl "/app/data" /app | xargs sed -i 's|/app/data|/config/addons_config/ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh" diff --git a/mylar3/Dockerfile b/mylar3/Dockerfile index 4b6e502c8..cd401c04d 100644 --- a/mylar3/Dockerfile +++ b/mylar3/Dockerfile @@ -59,12 +59,6 @@ RUN \ # Copy local files COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 00-local_mounts.sh 00-smb_mounts.sh" diff --git a/nextcloud/Dockerfile b/nextcloud/Dockerfile index c88f64901..358e4a412 100644 --- a/nextcloud/Dockerfile +++ b/nextcloud/Dockerfile @@ -91,12 +91,6 @@ RUN \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 00-local_mounts.sh 00-smb_mounts.sh" diff --git a/nzbget/Dockerfile b/nzbget/Dockerfile index 8f79d0259..6d7df75dd 100644 --- a/nzbget/Dockerfile +++ b/nzbget/Dockerfile @@ -59,12 +59,6 @@ RUN \ # Copy local files COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 00-local_mounts.sh 00-smb_mounts.sh" diff --git a/omada/Dockerfile b/omada/Dockerfile index 3238905b3..af85ed161 100644 --- a/omada/Dockerfile +++ b/omada/Dockerfile @@ -42,12 +42,6 @@ RUN echo "Adding symlinks to entrypoint" \ # Copy local files COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh" diff --git a/omada_v3/Dockerfile b/omada_v3/Dockerfile index d4eefb7de..493cbc8b8 100644 --- a/omada_v3/Dockerfile +++ b/omada_v3/Dockerfile @@ -43,12 +43,6 @@ RUN echo "Adding symlinks to entrypoint" \ # Copy local files COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh" diff --git a/ombi/Dockerfile b/ombi/Dockerfile index 35aa653a7..16fae4614 100644 --- a/ombi/Dockerfile +++ b/ombi/Dockerfile @@ -59,12 +59,6 @@ RUN \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh" diff --git a/organizr/Dockerfile b/organizr/Dockerfile index 21cd588ae..080bb2dc6 100644 --- a/organizr/Dockerfile +++ b/organizr/Dockerfile @@ -58,12 +58,6 @@ RUN \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh" diff --git a/overseerr/Dockerfile b/overseerr/Dockerfile index 09a40740c..c3f4df3b1 100644 --- a/overseerr/Dockerfile +++ b/overseerr/Dockerfile @@ -60,12 +60,6 @@ RUN \ # Copy local files COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 00-local_mounts.sh 00-smb_mounts.sh" diff --git a/paperless_ngx/Dockerfile b/paperless_ngx/Dockerfile index 6daf9497b..bdde62952 100644 --- a/paperless_ngx/Dockerfile +++ b/paperless_ngx/Dockerfile @@ -39,12 +39,6 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 00-local_mounts.sh 00-smb_mounts.sh 90-config_yaml.sh" diff --git a/papermerge/Dockerfile b/papermerge/Dockerfile index d1e3d45f0..40b315721 100644 --- a/papermerge/Dockerfile +++ b/papermerge/Dockerfile @@ -66,12 +66,6 @@ RUN \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 00-smb_mounts.sh" diff --git a/photoprism/Dockerfile b/photoprism/Dockerfile index 2570202b6..bf9886a27 100644 --- a/photoprism/Dockerfile +++ b/photoprism/Dockerfile @@ -41,12 +41,6 @@ RUN \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 90-disable_ingress.sh 90-config_yaml.sh 00-local_mounts.sh 00-smb_mounts.sh" diff --git a/piwigo/Dockerfile b/piwigo/Dockerfile index 4832e8d11..bb1abaffa 100644 --- a/piwigo/Dockerfile +++ b/piwigo/Dockerfile @@ -59,12 +59,6 @@ RUN \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 00-local_mounts.sh 00-smb_mounts.sh" diff --git a/plex/Dockerfile b/plex/Dockerfile index 06e7d90c9..c6de20692 100644 --- a/plex/Dockerfile +++ b/plex/Dockerfile @@ -69,12 +69,6 @@ RUN \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 00-local_mounts.sh 00-smb_mounts.sh" diff --git a/plex_meta_manager/Dockerfile b/plex_meta_manager/Dockerfile index 05b1bfc68..9c64cac56 100644 --- a/plex_meta_manager/Dockerfile +++ b/plex_meta_manager/Dockerfile @@ -67,12 +67,6 @@ RUN \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 00-global_var.sh" diff --git a/portainer/Dockerfile b/portainer/Dockerfile index ace82dfd6..c2dc0ce18 100644 --- a/portainer/Dockerfile +++ b/portainer/Dockerfile @@ -57,12 +57,6 @@ RUN \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh" diff --git a/portainer_agent/Dockerfile b/portainer_agent/Dockerfile index 23b6e4b91..1f2222806 100644 --- a/portainer_agent/Dockerfile +++ b/portainer_agent/Dockerfile @@ -43,12 +43,6 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 00-global_var.sh" diff --git a/postgres/Dockerfile b/postgres/Dockerfile index bc1d021b6..b76195e51 100644 --- a/postgres/Dockerfile +++ b/postgres/Dockerfile @@ -39,12 +39,6 @@ RUN \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 00-global_var.sh" diff --git a/prowlarr/Dockerfile b/prowlarr/Dockerfile index 2bf65cdeb..9f1993c5c 100644 --- a/prowlarr/Dockerfile +++ b/prowlarr/Dockerfile @@ -59,12 +59,6 @@ RUN \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 00-local_mounts.sh 00-smb_mounts.sh" diff --git a/qbittorrent/Dockerfile b/qbittorrent/Dockerfile index 497f4acfe..760aadd68 100644 --- a/qbittorrent/Dockerfile +++ b/qbittorrent/Dockerfile @@ -120,12 +120,6 @@ RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get #RUN if [ -f /etc/s6-overlay/s6-rc.d/init-custom-file/run ]; then mkdir "/custom-cont-init.d" && for SCRIPTS in /etc/cont-init.d/*; do [ -e "$SCRIPTS" ] || continue \ # && mv "$SCRIPTS" /custom-cont-init.d && chmod a+x /custom-cont-init.d/*; done; fi -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - ################ # 4 Entrypoint # ################ diff --git a/radarr/Dockerfile b/radarr/Dockerfile index 5a2aa4e16..2f75b2f3e 100644 --- a/radarr/Dockerfile +++ b/radarr/Dockerfile @@ -59,12 +59,6 @@ RUN \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 90-disable_ingress.sh 00-local_mounts.sh 00-smb_mounts.sh" diff --git a/readarr/Dockerfile b/readarr/Dockerfile index a4aa4abe0..fc76e6aad 100644 --- a/readarr/Dockerfile +++ b/readarr/Dockerfile @@ -60,12 +60,6 @@ RUN \ # Copy local files COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 90-disable_ingress.sh 00-local_mounts.sh 00-smb_mounts.sh" diff --git a/requestrr/Dockerfile b/requestrr/Dockerfile index 0ff25651d..4de833b54 100644 --- a/requestrr/Dockerfile +++ b/requestrr/Dockerfile @@ -59,12 +59,6 @@ RUN \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh" diff --git a/resiliosync/Dockerfile b/resiliosync/Dockerfile index 596fd6435..1074270e0 100644 --- a/resiliosync/Dockerfile +++ b/resiliosync/Dockerfile @@ -78,12 +78,6 @@ RUN \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 00-local_mounts.sh 00-smb_mounts.sh" diff --git a/sabnzbd/Dockerfile b/sabnzbd/Dockerfile index f91b9b24e..9ddfefad7 100644 --- a/sabnzbd/Dockerfile +++ b/sabnzbd/Dockerfile @@ -59,12 +59,6 @@ RUN \ # Copy local files COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 00-local_mounts.sh 00-smb_mounts.sh" diff --git a/scrutiny/Dockerfile b/scrutiny/Dockerfile index 8a4efd5e6..5cb02efaa 100644 --- a/scrutiny/Dockerfile +++ b/scrutiny/Dockerfile @@ -34,12 +34,6 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh" diff --git a/scrutiny_fa/Dockerfile b/scrutiny_fa/Dockerfile index 8a4efd5e6..5cb02efaa 100644 --- a/scrutiny_fa/Dockerfile +++ b/scrutiny_fa/Dockerfile @@ -34,12 +34,6 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh" diff --git a/seafile/Dockerfile b/seafile/Dockerfile index 777fbaebe..bd5cb0fa1 100644 --- a/seafile/Dockerfile +++ b/seafile/Dockerfile @@ -39,12 +39,6 @@ USER root # Copy local files COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 90-config_yaml.sh 00-global_var.sh 00-local_mounts.sh 00-smb_mounts.sh" diff --git a/sonarr/Dockerfile b/sonarr/Dockerfile index 50fac6759..ec1ed9c6b 100644 --- a/sonarr/Dockerfile +++ b/sonarr/Dockerfile @@ -60,12 +60,6 @@ RUN \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 90-disable_ingress.sh 00-local_mounts.sh 00-smb_mounts.sh" diff --git a/sponsorblockcast/Dockerfile b/sponsorblockcast/Dockerfile index 3ac557add..2cf8c4c24 100644 --- a/sponsorblockcast/Dockerfile +++ b/sponsorblockcast/Dockerfile @@ -31,12 +31,6 @@ USER root # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh" diff --git a/spotweb/Dockerfile b/spotweb/Dockerfile index ef7143cb0..09f35e7e2 100644 --- a/spotweb/Dockerfile +++ b/spotweb/Dockerfile @@ -92,12 +92,6 @@ COPY rootfs/ / # Corrects permissions for /app directory RUN if [ -d /app ]; then chown -R nginx /app; fi -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="01-custom_script.sh" diff --git a/tandoor_recipes/Dockerfile b/tandoor_recipes/Dockerfile index 0971a6a8b..79f135534 100644 --- a/tandoor_recipes/Dockerfile +++ b/tandoor_recipes/Dockerfile @@ -34,12 +34,6 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh" diff --git a/tdarr/Dockerfile b/tdarr/Dockerfile index 1cb080a34..2a3fc0d00 100644 --- a/tdarr/Dockerfile +++ b/tdarr/Dockerfile @@ -34,12 +34,6 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 00-local_mounts.sh 00-smb_mounts.sh" diff --git a/teamspeak/Dockerfile b/teamspeak/Dockerfile index 9990c88cb..1d5a9695a 100644 --- a/teamspeak/Dockerfile +++ b/teamspeak/Dockerfile @@ -40,12 +40,6 @@ VOLUME [ "/data:/var/ts3server/" ] # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh" diff --git a/transmission/Dockerfile b/transmission/Dockerfile index bbf8cf7bc..6c1f9f6c9 100644 --- a/transmission/Dockerfile +++ b/transmission/Dockerfile @@ -69,12 +69,6 @@ RUN \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 90-dns_set.sh 00-local_mounts.sh 00-smb_mounts.sh " diff --git a/transmission_openvpn/Dockerfile b/transmission_openvpn/Dockerfile index 0b5c33c26..1ae765d5c 100644 --- a/transmission_openvpn/Dockerfile +++ b/transmission_openvpn/Dockerfile @@ -64,12 +64,6 @@ RUN \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 90-dns_set.sh 00-local_mounts.sh 00-smb_mounts.sh " diff --git a/ubooquity/Dockerfile b/ubooquity/Dockerfile index f33d11e34..c756e49aa 100644 --- a/ubooquity/Dockerfile +++ b/ubooquity/Dockerfile @@ -69,12 +69,6 @@ RUN \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 00-local_mounts.sh 00-smb_mounts.sh" diff --git a/unpackerr/Dockerfile b/unpackerr/Dockerfile index 278dba384..770a94dea 100644 --- a/unpackerr/Dockerfile +++ b/unpackerr/Dockerfile @@ -81,12 +81,6 @@ RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get && eval /./automatic_packages.sh "${PACKAGES:-}" \ && rm /automatic_packages.sh -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - ################ # 4 Entrypoint # ################ diff --git a/webtop_kde/Dockerfile b/webtop_kde/Dockerfile index 5c90b8d84..fcccee72f 100644 --- a/webtop_kde/Dockerfile +++ b/webtop_kde/Dockerfile @@ -69,12 +69,6 @@ RUN \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 00-local_mounts.sh 00-smb_mounts.sh 90-dns_set.sh" diff --git a/webtrees/Dockerfile b/webtrees/Dockerfile index 79923fc98..42c2179bd 100644 --- a/webtrees/Dockerfile +++ b/webtrees/Dockerfile @@ -45,12 +45,6 @@ RUN \ # Add rootfs COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 90-config_yaml.sh 00-local_mounts.sh 00-smb_mounts.sh" diff --git a/whoogle/Dockerfile b/whoogle/Dockerfile index acca9e40c..ba4ce5291 100644 --- a/whoogle/Dockerfile +++ b/whoogle/Dockerfile @@ -39,12 +39,6 @@ RUN \ # Copy local files COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh 00-global_var.sh" diff --git a/xteve/Dockerfile b/xteve/Dockerfile index 92ba2be5e..3b3fd2fcd 100644 --- a/xteve/Dockerfile +++ b/xteve/Dockerfile @@ -39,12 +39,6 @@ RUN cp -vnpr /home/xteve* /data || true # Copy local files COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh" diff --git a/zoneminder/Dockerfile b/zoneminder/Dockerfile index a520c0e7d..05622e2c4 100644 --- a/zoneminder/Dockerfile +++ b/zoneminder/Dockerfile @@ -44,12 +44,6 @@ RUN sed -i 's|/etc/zm.conf|/config/addons_config/zoneminder/zm.conf|g' /usr/loca # Copy local files COPY rootfs/ / -# Corrects permissions for s6 v3 -RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ - if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ - if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \ - if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then sed -i "1a /./entrypoint.sh" /docker-mods; fi - # Modules ARG MODULES="00-banner.sh 01-custom_script.sh"