From 71a8fd766e0449de36d1510511fc1aaf257a7be6 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 5 Sep 2023 12:30:06 +0200 Subject: [PATCH] chmod +x --- autobrr/Dockerfile | 2 +- bazarr/Dockerfile | 2 +- booksonic_air/Dockerfile | 2 +- calibre/Dockerfile | 2 +- calibre_web/Dockerfile | 2 +- code-server/Dockerfile | 2 +- emby/Dockerfile | 2 +- flexget/Dockerfile | 2 +- grav/Dockerfile | 2 +- immich/Dockerfile | 2 +- jackett/Dockerfile | 2 +- jellyfin/Dockerfile | 2 +- lidarr/Dockerfile | 2 +- mylar3/Dockerfile | 2 +- nextcloud/Dockerfile | 2 +- nzbget/Dockerfile | 2 +- ombi/Dockerfile | 2 +- organizr/Dockerfile | 2 +- overseerr/Dockerfile | 2 +- papermerge/Dockerfile | 2 +- piwigo/Dockerfile | 2 +- plex/Dockerfile | 2 +- plex_meta_manager/Dockerfile | 2 +- prowlarr/Dockerfile | 2 +- qbittorrent/Dockerfile | 2 +- radarr/Dockerfile | 2 +- readarr/Dockerfile | 2 +- requestrr/Dockerfile | 2 +- resiliosync/Dockerfile | 2 +- sabnzbd/Dockerfile | 2 +- sonarr/Dockerfile | 2 +- transmission/Dockerfile | 2 +- transmission_openvpn/Dockerfile | 2 +- ubooquity/Dockerfile | 2 +- unpackerr/Dockerfile | 2 +- webtop_kde/Dockerfile | 2 +- 36 files changed, 36 insertions(+), 36 deletions(-) diff --git a/autobrr/Dockerfile b/autobrr/Dockerfile index 2bf6ef653..dc78e7da8 100644 --- a/autobrr/Dockerfile +++ b/autobrr/Dockerfile @@ -54,7 +54,7 @@ RUN \ && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi && \ \ # Add entrypoint if existing - && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then echo "/./entrypoint.sh" >> /docker-mods; fi + && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then chmod +x /entrypoint.sh && echo "/./entrypoint.sh" >> /docker-mods; fi ################## # 3 Install apps # diff --git a/bazarr/Dockerfile b/bazarr/Dockerfile index 8632b264f..8311c4911 100644 --- a/bazarr/Dockerfile +++ b/bazarr/Dockerfile @@ -54,7 +54,7 @@ RUN \ && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi && \ \ # Add entrypoint if existing - && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then echo "/./entrypoint.sh" >> /docker-mods; fi + && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then chmod +x /entrypoint.sh && echo "/./entrypoint.sh" >> /docker-mods; fi ################## # 3 Install apps # diff --git a/booksonic_air/Dockerfile b/booksonic_air/Dockerfile index 4790a69eb..61ac1bd96 100644 --- a/booksonic_air/Dockerfile +++ b/booksonic_air/Dockerfile @@ -56,7 +56,7 @@ RUN \ && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi && \ \ # Add entrypoint if existing - && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then echo "/./entrypoint.sh" >> /docker-mods; fi + && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then chmod +x /entrypoint.sh && echo "/./entrypoint.sh" >> /docker-mods; fi ################## # 3 Install apps # diff --git a/calibre/Dockerfile b/calibre/Dockerfile index 1ae5f281d..3cb5aa509 100644 --- a/calibre/Dockerfile +++ b/calibre/Dockerfile @@ -55,7 +55,7 @@ RUN \ && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi && \ \ # Add entrypoint if existing - && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then echo "/./entrypoint.sh" >> /docker-mods; fi + && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then chmod +x /entrypoint.sh && echo "/./entrypoint.sh" >> /docker-mods; fi # Specific images modifications RUN \ diff --git a/calibre_web/Dockerfile b/calibre_web/Dockerfile index 5f0f8a1b5..c02b36d1d 100644 --- a/calibre_web/Dockerfile +++ b/calibre_web/Dockerfile @@ -60,7 +60,7 @@ RUN \ && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi && \ \ # Add entrypoint if existing - && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then echo "/./entrypoint.sh" >> /docker-mods; fi + && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then chmod +x /entrypoint.sh && echo "/./entrypoint.sh" >> /docker-mods; fi # Specific images modifications RUN \ diff --git a/code-server/Dockerfile b/code-server/Dockerfile index e8b93db28..063a4966f 100644 --- a/code-server/Dockerfile +++ b/code-server/Dockerfile @@ -54,7 +54,7 @@ RUN \ && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi && \ \ # Add entrypoint if existing - && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then echo "/./entrypoint.sh" >> /docker-mods; fi + && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then chmod +x /entrypoint.sh && echo "/./entrypoint.sh" >> /docker-mods; fi ################## # 3 Install apps # diff --git a/emby/Dockerfile b/emby/Dockerfile index 94fa1de7b..f71053678 100644 --- a/emby/Dockerfile +++ b/emby/Dockerfile @@ -54,7 +54,7 @@ RUN \ && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi && \ \ # Add entrypoint if existing - && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then echo "/./entrypoint.sh" >> /docker-mods; fi + && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then chmod +x /entrypoint.sh && echo "/./entrypoint.sh" >> /docker-mods; fi ################## # 3 Install apps # diff --git a/flexget/Dockerfile b/flexget/Dockerfile index 2fd3d0ca9..7041063ae 100644 --- a/flexget/Dockerfile +++ b/flexget/Dockerfile @@ -63,7 +63,7 @@ RUN \ && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi && \ \ # Add entrypoint if existing - && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then echo "/./entrypoint.sh" >> /docker-mods; fi + && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then chmod +x /entrypoint.sh && echo "/./entrypoint.sh" >> /docker-mods; fi ################## # 3 Install apps # diff --git a/grav/Dockerfile b/grav/Dockerfile index 5884ddf4d..85dba2af3 100644 --- a/grav/Dockerfile +++ b/grav/Dockerfile @@ -54,7 +54,7 @@ RUN \ && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi && \ \ # Add entrypoint if existing - && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then echo "/./entrypoint.sh" >> /docker-mods; fi + && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then chmod +x /entrypoint.sh && echo "/./entrypoint.sh" >> /docker-mods; fi ################## # 3 Install apps # diff --git a/immich/Dockerfile b/immich/Dockerfile index 0190ee072..0642f440b 100644 --- a/immich/Dockerfile +++ b/immich/Dockerfile @@ -53,7 +53,7 @@ RUN \ && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi && \ \ # Add entrypoint if existing - && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then echo "/./entrypoint.sh" >> /docker-mods; fi + && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then chmod +x /entrypoint.sh && echo "/./entrypoint.sh" >> /docker-mods; fi USER root diff --git a/jackett/Dockerfile b/jackett/Dockerfile index 04d9a42ad..2b452fe34 100644 --- a/jackett/Dockerfile +++ b/jackett/Dockerfile @@ -53,7 +53,7 @@ RUN \ && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi && \ \ # Add entrypoint if existing - && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then echo "/./entrypoint.sh" >> /docker-mods; fi + && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then chmod +x /entrypoint.sh && echo "/./entrypoint.sh" >> /docker-mods; fi # Changes config directory ENV XDG_CONFIG_HOME="/config/addons_config" diff --git a/jellyfin/Dockerfile b/jellyfin/Dockerfile index 05d4670b9..5db499ecb 100644 --- a/jellyfin/Dockerfile +++ b/jellyfin/Dockerfile @@ -54,7 +54,7 @@ RUN \ && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi && \ \ # Add entrypoint if existing - && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then echo "/./entrypoint.sh" >> /docker-mods; fi + && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then chmod +x /entrypoint.sh && echo "/./entrypoint.sh" >> /docker-mods; fi RUN \ sed -i "s|contenv bash|contenv bashio|g" /etc/s6-overlay/s6-rc.d/svc-jellyfin/run && \ diff --git a/lidarr/Dockerfile b/lidarr/Dockerfile index a5a0b7ed3..580ef37b5 100644 --- a/lidarr/Dockerfile +++ b/lidarr/Dockerfile @@ -53,7 +53,7 @@ RUN \ && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi && \ \ # Add entrypoint if existing - && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then echo "/./entrypoint.sh" >> /docker-mods; fi + && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then chmod +x /entrypoint.sh && echo "/./entrypoint.sh" >> /docker-mods; fi ################## # 3 Install apps # diff --git a/mylar3/Dockerfile b/mylar3/Dockerfile index 116cd409f..45c4cf577 100644 --- a/mylar3/Dockerfile +++ b/mylar3/Dockerfile @@ -53,7 +53,7 @@ RUN \ && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi && \ \ # Add entrypoint if existing - && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then echo "/./entrypoint.sh" >> /docker-mods; fi + && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then chmod +x /entrypoint.sh && echo "/./entrypoint.sh" >> /docker-mods; fi ################## # 3 Install apps # diff --git a/nextcloud/Dockerfile b/nextcloud/Dockerfile index a66ad4c8f..ba4bbd70d 100644 --- a/nextcloud/Dockerfile +++ b/nextcloud/Dockerfile @@ -85,7 +85,7 @@ RUN \ && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi && \ \ # Add entrypoint if existing - && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then echo "/./entrypoint.sh" >> /docker-mods; fi + && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then chmod +x /entrypoint.sh && echo "/./entrypoint.sh" >> /docker-mods; fi ################## # 3 Install apps # diff --git a/nzbget/Dockerfile b/nzbget/Dockerfile index d29756143..505fa56b3 100644 --- a/nzbget/Dockerfile +++ b/nzbget/Dockerfile @@ -53,7 +53,7 @@ RUN \ && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi && \ \ # Add entrypoint if existing - && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then echo "/./entrypoint.sh" >> /docker-mods; fi + && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then chmod +x /entrypoint.sh && echo "/./entrypoint.sh" >> /docker-mods; fi ################## # 3 Install apps # diff --git a/ombi/Dockerfile b/ombi/Dockerfile index e09ceb9b6..69560bf83 100644 --- a/ombi/Dockerfile +++ b/ombi/Dockerfile @@ -53,7 +53,7 @@ RUN \ && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi && \ \ # Add entrypoint if existing - && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then echo "/./entrypoint.sh" >> /docker-mods; fi + && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then chmod +x /entrypoint.sh && echo "/./entrypoint.sh" >> /docker-mods; fi ################## # 3 Install apps # diff --git a/organizr/Dockerfile b/organizr/Dockerfile index 90588b55a..abc119a5d 100644 --- a/organizr/Dockerfile +++ b/organizr/Dockerfile @@ -52,7 +52,7 @@ RUN \ && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi && \ \ # Add entrypoint if existing - && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then echo "/./entrypoint.sh" >> /docker-mods; fi + && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then chmod +x /entrypoint.sh && echo "/./entrypoint.sh" >> /docker-mods; fi ################## # 3 Install apps # diff --git a/overseerr/Dockerfile b/overseerr/Dockerfile index 9777965cd..6419355f4 100644 --- a/overseerr/Dockerfile +++ b/overseerr/Dockerfile @@ -54,7 +54,7 @@ RUN \ && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi && \ \ # Add entrypoint if existing - && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then echo "/./entrypoint.sh" >> /docker-mods; fi + && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then chmod +x /entrypoint.sh && echo "/./entrypoint.sh" >> /docker-mods; fi ################## # 3 Install apps # diff --git a/papermerge/Dockerfile b/papermerge/Dockerfile index a5256373a..bfd2c1c54 100644 --- a/papermerge/Dockerfile +++ b/papermerge/Dockerfile @@ -60,7 +60,7 @@ RUN \ && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi && \ \ # Add entrypoint if existing - && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then echo "/./entrypoint.sh" >> /docker-mods; fi + && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then chmod +x /entrypoint.sh && echo "/./entrypoint.sh" >> /docker-mods; fi ################## # 3 Install apps # diff --git a/piwigo/Dockerfile b/piwigo/Dockerfile index e8c4e3fec..03e4440ac 100644 --- a/piwigo/Dockerfile +++ b/piwigo/Dockerfile @@ -53,7 +53,7 @@ RUN \ && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi && \ \ # Add entrypoint if existing - && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then echo "/./entrypoint.sh" >> /docker-mods; fi + && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then chmod +x /entrypoint.sh && echo "/./entrypoint.sh" >> /docker-mods; fi ################## # 3 Install apps # diff --git a/plex/Dockerfile b/plex/Dockerfile index df9317a92..7878d4403 100644 --- a/plex/Dockerfile +++ b/plex/Dockerfile @@ -62,7 +62,7 @@ RUN \ && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi && \ \ # Add entrypoint if existing - && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then echo "/./entrypoint.sh" >> /docker-mods; fi + && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then chmod +x /entrypoint.sh && echo "/./entrypoint.sh" >> /docker-mods; fi ################## diff --git a/plex_meta_manager/Dockerfile b/plex_meta_manager/Dockerfile index 9d90b87bc..fd7eb5bfc 100644 --- a/plex_meta_manager/Dockerfile +++ b/plex_meta_manager/Dockerfile @@ -61,7 +61,7 @@ RUN \ && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi && \ \ # Add entrypoint if existing - && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then echo "/./entrypoint.sh" >> /docker-mods; fi + && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then chmod +x /entrypoint.sh && echo "/./entrypoint.sh" >> /docker-mods; fi ################## # 3 Install apps # diff --git a/prowlarr/Dockerfile b/prowlarr/Dockerfile index f091f84e4..6b6917b8f 100644 --- a/prowlarr/Dockerfile +++ b/prowlarr/Dockerfile @@ -53,7 +53,7 @@ RUN \ && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi && \ \ # Add entrypoint if existing - && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then echo "/./entrypoint.sh" >> /docker-mods; fi + && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then chmod +x /entrypoint.sh && echo "/./entrypoint.sh" >> /docker-mods; fi ################## # 3 Install apps # diff --git a/qbittorrent/Dockerfile b/qbittorrent/Dockerfile index 95cfbfaff..eeaa70416 100644 --- a/qbittorrent/Dockerfile +++ b/qbittorrent/Dockerfile @@ -82,7 +82,7 @@ RUN \ && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi && \ \ # Add entrypoint if existing - && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then echo "/./entrypoint.sh" >> /docker-mods; fi + && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then chmod +x /entrypoint.sh && echo "/./entrypoint.sh" >> /docker-mods; fi ################## # 3 Install apps # diff --git a/radarr/Dockerfile b/radarr/Dockerfile index fbdcd47d2..482c9d0f5 100644 --- a/radarr/Dockerfile +++ b/radarr/Dockerfile @@ -53,7 +53,7 @@ RUN \ && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi && \ \ # Add entrypoint if existing - && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then echo "/./entrypoint.sh" >> /docker-mods; fi + && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then chmod +x /entrypoint.sh && echo "/./entrypoint.sh" >> /docker-mods; fi ################## # 3 Install apps # diff --git a/readarr/Dockerfile b/readarr/Dockerfile index 2549d972c..694b59530 100644 --- a/readarr/Dockerfile +++ b/readarr/Dockerfile @@ -54,7 +54,7 @@ RUN \ && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi && \ \ # Add entrypoint if existing - && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then echo "/./entrypoint.sh" >> /docker-mods; fi + && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then chmod +x /entrypoint.sh && echo "/./entrypoint.sh" >> /docker-mods; fi ################## # 3 Install apps # diff --git a/requestrr/Dockerfile b/requestrr/Dockerfile index 01fe5c9ea..9583e342a 100644 --- a/requestrr/Dockerfile +++ b/requestrr/Dockerfile @@ -53,7 +53,7 @@ RUN \ && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi && \ \ # Add entrypoint if existing - && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then echo "/./entrypoint.sh" >> /docker-mods; fi + && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then chmod +x /entrypoint.sh && echo "/./entrypoint.sh" >> /docker-mods; fi ################## # 3 Install apps # diff --git a/resiliosync/Dockerfile b/resiliosync/Dockerfile index fffbc7147..bf5446658 100644 --- a/resiliosync/Dockerfile +++ b/resiliosync/Dockerfile @@ -72,7 +72,7 @@ RUN \ && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi && \ \ # Add entrypoint if existing - && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then echo "/./entrypoint.sh" >> /docker-mods; fi + && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then chmod +x /entrypoint.sh && echo "/./entrypoint.sh" >> /docker-mods; fi ################## # 3 Install apps # diff --git a/sabnzbd/Dockerfile b/sabnzbd/Dockerfile index aee850bde..5afc2a243 100644 --- a/sabnzbd/Dockerfile +++ b/sabnzbd/Dockerfile @@ -53,7 +53,7 @@ RUN \ && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi && \ \ # Add entrypoint if existing - && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then echo "/./entrypoint.sh" >> /docker-mods; fi + && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then chmod +x /entrypoint.sh && echo "/./entrypoint.sh" >> /docker-mods; fi ################## # 3 Install apps # diff --git a/sonarr/Dockerfile b/sonarr/Dockerfile index 8d45e71fc..eb71162b8 100644 --- a/sonarr/Dockerfile +++ b/sonarr/Dockerfile @@ -54,7 +54,7 @@ RUN \ && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi && \ \ # Add entrypoint if existing - && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then echo "/./entrypoint.sh" >> /docker-mods; fi + && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then chmod +x /entrypoint.sh && echo "/./entrypoint.sh" >> /docker-mods; fi ################## # 3 Install apps # diff --git a/transmission/Dockerfile b/transmission/Dockerfile index 305c6e163..832bde7cb 100644 --- a/transmission/Dockerfile +++ b/transmission/Dockerfile @@ -63,7 +63,7 @@ RUN \ && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi && \ \ # Add entrypoint if existing - && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then echo "/./entrypoint.sh" >> /docker-mods; fi + && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then chmod +x /entrypoint.sh && echo "/./entrypoint.sh" >> /docker-mods; fi ################## # 3 Install apps # diff --git a/transmission_openvpn/Dockerfile b/transmission_openvpn/Dockerfile index cff79b2b5..853e84559 100644 --- a/transmission_openvpn/Dockerfile +++ b/transmission_openvpn/Dockerfile @@ -58,7 +58,7 @@ RUN \ && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi && \ \ # Add entrypoint if existing - && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then echo "/./entrypoint.sh" >> /docker-mods; fi + && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then chmod +x /entrypoint.sh && echo "/./entrypoint.sh" >> /docker-mods; fi ################## # 3 Install apps # diff --git a/ubooquity/Dockerfile b/ubooquity/Dockerfile index d0b5e17aa..448923a04 100644 --- a/ubooquity/Dockerfile +++ b/ubooquity/Dockerfile @@ -63,7 +63,7 @@ RUN \ && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi && \ \ # Add entrypoint if existing - && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then echo "/./entrypoint.sh" >> /docker-mods; fi + && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then chmod +x /entrypoint.sh && echo "/./entrypoint.sh" >> /docker-mods; fi ################## # 3 Install apps # diff --git a/unpackerr/Dockerfile b/unpackerr/Dockerfile index a8d2b5028..f4136fb45 100644 --- a/unpackerr/Dockerfile +++ b/unpackerr/Dockerfile @@ -53,7 +53,7 @@ RUN \ && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi && \ \ # Add entrypoint if existing - && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then echo "/./entrypoint.sh" >> /docker-mods; fi + && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then chmod +x /entrypoint.sh && echo "/./entrypoint.sh" >> /docker-mods; fi ################## # 3 Install apps # diff --git a/webtop_kde/Dockerfile b/webtop_kde/Dockerfile index 8f8a0f6fc..057ae15ec 100644 --- a/webtop_kde/Dockerfile +++ b/webtop_kde/Dockerfile @@ -63,7 +63,7 @@ RUN \ && if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi && \ \ # Add entrypoint if existing - && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then echo "/./entrypoint.sh" >> /docker-mods; fi + && if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then chmod +x /entrypoint.sh && echo "/./entrypoint.sh" >> /docker-mods; fi ################## # 3 Install apps #