From 80ab9db6b90f55249746c0cb30b632cd3eb10f94 Mon Sep 17 00:00:00 2001 From: Alexandre Date: Sun, 17 Mar 2024 09:56:21 +0100 Subject: [PATCH] Lint --- addons_updater/Dockerfile | 1 + arpspoof/Dockerfile | 1 + autobrr/Dockerfile | 1 + baikal/Dockerfile | 2 ++ bazarr/Dockerfile | 1 + binance-trading-bot/Dockerfile | 1 + booksonic_air/Dockerfile | 1 + browserless_chrome/Dockerfile | 1 + calibre/Dockerfile | 1 + calibre_web/Dockerfile | 1 + changedetection.io/Dockerfile | 1 + cloudcommander/Dockerfile | 1 + codex/Dockerfile | 1 + comixed/Dockerfile | 1 + elasticsearch/Dockerfile | 1 + emby/Dockerfile | 1 + enedisgateway2mqtt/Dockerfile | 1 + enedisgateway2mqtt_dev/Dockerfile | 1 + epicgamesfree/Dockerfile | 1 + filebrowser/Dockerfile | 1 + fireflyiii/Dockerfile | 1 + fireflyiii_data_importer/Dockerfile | 1 + fireflyiii_fints_importer/Dockerfile | 1 + flaresolverr/Dockerfile | 1 + flexget/Dockerfile | 1 + free_games_claimer/Dockerfile | 1 + gazpar2mqtt/Dockerfile | 1 + gitea/Dockerfile | 1 + grav/Dockerfile | 1 + guacamole/Dockerfile | 1 + immich/Dockerfile | 1 + inadyn/Dockerfile | 1 + jackett/Dockerfile | 1 + jellyfin/Dockerfile | 1 + jellyseerr/Dockerfile | 1 + joal/Dockerfile | 1 + joplin/Dockerfile | 1 + lidarr/Dockerfile | 1 + linkwarden/Dockerfile | 1 + mealie/Dockerfile | 1 + mylar3/Dockerfile | 1 + nextcloud/Dockerfile | 1 + nzbget/Dockerfile | 1 + omada/Dockerfile | 1 + omada_v3/Dockerfile | 1 + ombi/Dockerfile | 1 + organizr/Dockerfile | 1 + overleaf/Dockerfile | 1 + overseerr/Dockerfile | 1 + papermerge/Dockerfile | 1 + photoprism/Dockerfile | 1 + piwigo/Dockerfile | 1 + plex/Dockerfile | 1 + plex_meta_manager/Dockerfile | 1 + portainer/Dockerfile | 1 + portainer_agent/Dockerfile | 1 + postgres/Dockerfile | 1 + prowlarr/Dockerfile | 1 + qbittorrent/Dockerfile | 1 + radarr/Dockerfile | 1 + readarr/Dockerfile | 1 + requestrr/Dockerfile | 1 + resiliosync/Dockerfile | 1 + sabnzbd/Dockerfile | 1 + scrutiny/Dockerfile | 1 + scrutiny_fa/Dockerfile | 1 + seafile/Dockerfile | 1 + signalk/Dockerfile | 1 + sonarr/Dockerfile | 1 + sponsorblockcast/Dockerfile | 1 + spotweb/Dockerfile | 1 + tandoor_recipes/Dockerfile | 1 + tdarr/Dockerfile | 1 + teamspeak/Dockerfile | 1 + transmission/Dockerfile | 1 + transmission_openvpn/Dockerfile | 1 + ubooquity/Dockerfile | 1 + unpackerr/Dockerfile | 1 + webtop_kde/Dockerfile | 1 + webtrees/Dockerfile | 1 + wger/Dockerfile | 1 + whatsapper/Dockerfile | 1 + whoogle/Dockerfile | 1 + xteve/Dockerfile | 1 + zoneminder/Dockerfile | 1 + zzz_archived_bitwarden/Dockerfile | 1 + zzz_archived_code-server/Dockerfile | 1 + zzz_archived_paperless_ngx/Dockerfile | 1 + 88 files changed, 89 insertions(+) diff --git a/addons_updater/Dockerfile b/addons_updater/Dockerfile index 0e47e8a6b..81966b3a8 100644 --- a/addons_updater/Dockerfile +++ b/addons_updater/Dockerfile @@ -37,6 +37,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/arpspoof/Dockerfile b/arpspoof/Dockerfile index b320a5896..0ea09d912 100644 --- a/arpspoof/Dockerfile +++ b/arpspoof/Dockerfile @@ -36,6 +36,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/autobrr/Dockerfile b/autobrr/Dockerfile index 2dddbc7e0..71b970a92 100644 --- a/autobrr/Dockerfile +++ b/autobrr/Dockerfile @@ -41,6 +41,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/baikal/Dockerfile b/baikal/Dockerfile index 2b5d67eb2..841b32847 100644 --- a/baikal/Dockerfile +++ b/baikal/Dockerfile @@ -40,6 +40,8 @@ RUN \ COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/bazarr/Dockerfile b/bazarr/Dockerfile index 6412b5731..1869f3e66 100644 --- a/bazarr/Dockerfile +++ b/bazarr/Dockerfile @@ -41,6 +41,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/binance-trading-bot/Dockerfile b/binance-trading-bot/Dockerfile index a03a5906c..af3b89401 100644 --- a/binance-trading-bot/Dockerfile +++ b/binance-trading-bot/Dockerfile @@ -56,6 +56,7 @@ RUN \ COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/booksonic_air/Dockerfile b/booksonic_air/Dockerfile index c0d2aa0bc..818e76449 100644 --- a/booksonic_air/Dockerfile +++ b/booksonic_air/Dockerfile @@ -44,6 +44,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/browserless_chrome/Dockerfile b/browserless_chrome/Dockerfile index 61173595b..5f726af4e 100644 --- a/browserless_chrome/Dockerfile +++ b/browserless_chrome/Dockerfile @@ -38,6 +38,7 @@ USER root COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/calibre/Dockerfile b/calibre/Dockerfile index 87c8c844c..a9db54588 100644 --- a/calibre/Dockerfile +++ b/calibre/Dockerfile @@ -50,6 +50,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/calibre_web/Dockerfile b/calibre_web/Dockerfile index be0259264..fbcf6c83e 100644 --- a/calibre_web/Dockerfile +++ b/calibre_web/Dockerfile @@ -52,6 +52,7 @@ RUN \ COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/changedetection.io/Dockerfile b/changedetection.io/Dockerfile index d46c51074..7f64cdf0d 100644 --- a/changedetection.io/Dockerfile +++ b/changedetection.io/Dockerfile @@ -42,6 +42,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/cloudcommander/Dockerfile b/cloudcommander/Dockerfile index 2b4cde25a..b886b1599 100644 --- a/cloudcommander/Dockerfile +++ b/cloudcommander/Dockerfile @@ -35,6 +35,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/codex/Dockerfile b/codex/Dockerfile index 5b9aba078..3efc5d9e1 100644 --- a/codex/Dockerfile +++ b/codex/Dockerfile @@ -35,6 +35,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/comixed/Dockerfile b/comixed/Dockerfile index 6f23bda16..cb224542b 100644 --- a/comixed/Dockerfile +++ b/comixed/Dockerfile @@ -51,6 +51,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/elasticsearch/Dockerfile b/elasticsearch/Dockerfile index e721c0460..1400a3c13 100644 --- a/elasticsearch/Dockerfile +++ b/elasticsearch/Dockerfile @@ -49,6 +49,7 @@ RUN sed -i '5a echo "Data location moved. Please wait while elasticsearch starts COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/emby/Dockerfile b/emby/Dockerfile index 353a8d324..383aa39a7 100644 --- a/emby/Dockerfile +++ b/emby/Dockerfile @@ -40,6 +40,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/enedisgateway2mqtt/Dockerfile b/enedisgateway2mqtt/Dockerfile index 87e2a2a4d..110f73954 100644 --- a/enedisgateway2mqtt/Dockerfile +++ b/enedisgateway2mqtt/Dockerfile @@ -35,6 +35,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/enedisgateway2mqtt_dev/Dockerfile b/enedisgateway2mqtt_dev/Dockerfile index 6bd423a7d..5ba23d45d 100644 --- a/enedisgateway2mqtt_dev/Dockerfile +++ b/enedisgateway2mqtt_dev/Dockerfile @@ -35,6 +35,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/epicgamesfree/Dockerfile b/epicgamesfree/Dockerfile index dc097abc4..8ad7573a4 100644 --- a/epicgamesfree/Dockerfile +++ b/epicgamesfree/Dockerfile @@ -38,6 +38,7 @@ RUN sed -i "1a /./ha_entrypoint.sh" /usr/local/bin/docker-entrypoint.sh COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/filebrowser/Dockerfile b/filebrowser/Dockerfile index 3beaf3304..5da4d1852 100644 --- a/filebrowser/Dockerfile +++ b/filebrowser/Dockerfile @@ -35,6 +35,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/fireflyiii/Dockerfile b/fireflyiii/Dockerfile index 6b4855d49..7126beee9 100644 --- a/fireflyiii/Dockerfile +++ b/fireflyiii/Dockerfile @@ -47,6 +47,7 @@ RUN \ COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/fireflyiii_data_importer/Dockerfile b/fireflyiii_data_importer/Dockerfile index 7a293eace..57e1430ec 100644 --- a/fireflyiii_data_importer/Dockerfile +++ b/fireflyiii_data_importer/Dockerfile @@ -43,6 +43,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/fireflyiii_fints_importer/Dockerfile b/fireflyiii_fints_importer/Dockerfile index c70d5f3c9..4a601ad42 100644 --- a/fireflyiii_fints_importer/Dockerfile +++ b/fireflyiii_fints_importer/Dockerfile @@ -36,6 +36,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/flaresolverr/Dockerfile b/flaresolverr/Dockerfile index a3b1afb76..9ab811306 100644 --- a/flaresolverr/Dockerfile +++ b/flaresolverr/Dockerfile @@ -37,6 +37,7 @@ USER root COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/flexget/Dockerfile b/flexget/Dockerfile index 144f9b359..30e40e1b2 100644 --- a/flexget/Dockerfile +++ b/flexget/Dockerfile @@ -51,6 +51,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/free_games_claimer/Dockerfile b/free_games_claimer/Dockerfile index 316ff4e73..1ca180d05 100644 --- a/free_games_claimer/Dockerfile +++ b/free_games_claimer/Dockerfile @@ -35,6 +35,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/gazpar2mqtt/Dockerfile b/gazpar2mqtt/Dockerfile index dc05aa929..b3b5e1a4d 100644 --- a/gazpar2mqtt/Dockerfile +++ b/gazpar2mqtt/Dockerfile @@ -38,6 +38,7 @@ ENV TZ=Europe/Paris COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/gitea/Dockerfile b/gitea/Dockerfile index e5ad1df2a..caeaa2e0b 100644 --- a/gitea/Dockerfile +++ b/gitea/Dockerfile @@ -38,6 +38,7 @@ USER root COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/grav/Dockerfile b/grav/Dockerfile index a6a89a855..c2eb944cd 100644 --- a/grav/Dockerfile +++ b/grav/Dockerfile @@ -41,6 +41,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/guacamole/Dockerfile b/guacamole/Dockerfile index 00758cdfc..76517ab88 100644 --- a/guacamole/Dockerfile +++ b/guacamole/Dockerfile @@ -68,6 +68,7 @@ RUN \ COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/immich/Dockerfile b/immich/Dockerfile index e90ccd77c..af7ec97f3 100644 --- a/immich/Dockerfile +++ b/immich/Dockerfile @@ -50,6 +50,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/inadyn/Dockerfile b/inadyn/Dockerfile index 1e795d2de..ebfe0147f 100644 --- a/inadyn/Dockerfile +++ b/inadyn/Dockerfile @@ -39,6 +39,7 @@ ENV LANG='C.UTF-8'\ COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/jackett/Dockerfile b/jackett/Dockerfile index 8357c8f51..0300b0664 100644 --- a/jackett/Dockerfile +++ b/jackett/Dockerfile @@ -43,6 +43,7 @@ ENV XDG_CONFIG_HOME="/config/addons_config" COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/jellyfin/Dockerfile b/jellyfin/Dockerfile index cc8949e00..db5d25075 100644 --- a/jellyfin/Dockerfile +++ b/jellyfin/Dockerfile @@ -49,6 +49,7 @@ RUN \ COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/jellyseerr/Dockerfile b/jellyseerr/Dockerfile index 0236d44eb..c6677f787 100644 --- a/jellyseerr/Dockerfile +++ b/jellyseerr/Dockerfile @@ -47,6 +47,7 @@ RUN \ COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/joal/Dockerfile b/joal/Dockerfile index f765728b2..9cbdcddd3 100644 --- a/joal/Dockerfile +++ b/joal/Dockerfile @@ -48,6 +48,7 @@ RUN \ COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/joplin/Dockerfile b/joplin/Dockerfile index 60cf19192..31bf3689f 100644 --- a/joplin/Dockerfile +++ b/joplin/Dockerfile @@ -43,6 +43,7 @@ ENV \ COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/lidarr/Dockerfile b/lidarr/Dockerfile index ae30556be..bba9d197a 100644 --- a/lidarr/Dockerfile +++ b/lidarr/Dockerfile @@ -40,6 +40,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/linkwarden/Dockerfile b/linkwarden/Dockerfile index aea21d334..a40f3315a 100644 --- a/linkwarden/Dockerfile +++ b/linkwarden/Dockerfile @@ -56,6 +56,7 @@ RUN \ COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/mealie/Dockerfile b/mealie/Dockerfile index 973e77093..6f935d5e6 100644 --- a/mealie/Dockerfile +++ b/mealie/Dockerfile @@ -40,6 +40,7 @@ RUN grep -rl "/app/data" /app | xargs sed -i 's|/app/data|/config/addons_config/ COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/mylar3/Dockerfile b/mylar3/Dockerfile index 2e34228c2..7d47a5900 100644 --- a/mylar3/Dockerfile +++ b/mylar3/Dockerfile @@ -40,6 +40,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/nextcloud/Dockerfile b/nextcloud/Dockerfile index 7c52bbc60..2534f4d9d 100644 --- a/nextcloud/Dockerfile +++ b/nextcloud/Dockerfile @@ -72,6 +72,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/nzbget/Dockerfile b/nzbget/Dockerfile index ccb913179..97d60b352 100644 --- a/nzbget/Dockerfile +++ b/nzbget/Dockerfile @@ -40,6 +40,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/omada/Dockerfile b/omada/Dockerfile index f000c25e6..b7689b921 100644 --- a/omada/Dockerfile +++ b/omada/Dockerfile @@ -39,6 +39,7 @@ RUN sed -i '1a /./ha_entrypoint.sh' /entrypoint.sh COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/omada_v3/Dockerfile b/omada_v3/Dockerfile index 5062b4d3d..c5d036646 100644 --- a/omada_v3/Dockerfile +++ b/omada_v3/Dockerfile @@ -45,6 +45,7 @@ RUN echo "Adding symlinks to entrypoint" \ COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/ombi/Dockerfile b/ombi/Dockerfile index f58834e7a..fc0ced768 100644 --- a/ombi/Dockerfile +++ b/ombi/Dockerfile @@ -40,6 +40,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/organizr/Dockerfile b/organizr/Dockerfile index ae8473402..19dee2ae1 100644 --- a/organizr/Dockerfile +++ b/organizr/Dockerfile @@ -39,6 +39,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/overleaf/Dockerfile b/overleaf/Dockerfile index b56abd44e..90f914c95 100644 --- a/overleaf/Dockerfile +++ b/overleaf/Dockerfile @@ -49,6 +49,7 @@ RUN \ COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/overseerr/Dockerfile b/overseerr/Dockerfile index e2403fd18..fa11b2173 100644 --- a/overseerr/Dockerfile +++ b/overseerr/Dockerfile @@ -41,6 +41,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/papermerge/Dockerfile b/papermerge/Dockerfile index e0d9395b6..294280dae 100644 --- a/papermerge/Dockerfile +++ b/papermerge/Dockerfile @@ -48,6 +48,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/photoprism/Dockerfile b/photoprism/Dockerfile index 7ebfd4d30..b8458a4dc 100644 --- a/photoprism/Dockerfile +++ b/photoprism/Dockerfile @@ -41,6 +41,7 @@ RUN \ COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/piwigo/Dockerfile b/piwigo/Dockerfile index 39e52b607..d34dd8d1c 100644 --- a/piwigo/Dockerfile +++ b/piwigo/Dockerfile @@ -40,6 +40,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/plex/Dockerfile b/plex/Dockerfile index 9fa535cb9..3d9d9ca7d 100644 --- a/plex/Dockerfile +++ b/plex/Dockerfile @@ -52,6 +52,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/plex_meta_manager/Dockerfile b/plex_meta_manager/Dockerfile index 92ff28353..0903c1a3a 100644 --- a/plex_meta_manager/Dockerfile +++ b/plex_meta_manager/Dockerfile @@ -49,6 +49,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/portainer/Dockerfile b/portainer/Dockerfile index 20d1a847b..70a9f9086 100644 --- a/portainer/Dockerfile +++ b/portainer/Dockerfile @@ -59,6 +59,7 @@ RUN \ COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/portainer_agent/Dockerfile b/portainer_agent/Dockerfile index c2ff04273..53a6499b9 100644 --- a/portainer_agent/Dockerfile +++ b/portainer_agent/Dockerfile @@ -46,6 +46,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/postgres/Dockerfile b/postgres/Dockerfile index 2894abaec..e7e245858 100644 --- a/postgres/Dockerfile +++ b/postgres/Dockerfile @@ -42,6 +42,7 @@ RUN \ COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/prowlarr/Dockerfile b/prowlarr/Dockerfile index 6da065512..dfeaa12d9 100644 --- a/prowlarr/Dockerfile +++ b/prowlarr/Dockerfile @@ -40,6 +40,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/qbittorrent/Dockerfile b/qbittorrent/Dockerfile index 19b635f73..55461a508 100644 --- a/qbittorrent/Dockerfile +++ b/qbittorrent/Dockerfile @@ -96,6 +96,7 @@ RUN \ COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/radarr/Dockerfile b/radarr/Dockerfile index 2ebf68ab5..b57a99ce9 100644 --- a/radarr/Dockerfile +++ b/radarr/Dockerfile @@ -40,6 +40,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/readarr/Dockerfile b/readarr/Dockerfile index db34d70fe..0a01fcf54 100644 --- a/readarr/Dockerfile +++ b/readarr/Dockerfile @@ -41,6 +41,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/requestrr/Dockerfile b/requestrr/Dockerfile index df4662247..a485510db 100644 --- a/requestrr/Dockerfile +++ b/requestrr/Dockerfile @@ -40,6 +40,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/resiliosync/Dockerfile b/resiliosync/Dockerfile index 82d763e28..fe86bf6bc 100644 --- a/resiliosync/Dockerfile +++ b/resiliosync/Dockerfile @@ -60,6 +60,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/sabnzbd/Dockerfile b/sabnzbd/Dockerfile index 3154554c0..8730c788d 100644 --- a/sabnzbd/Dockerfile +++ b/sabnzbd/Dockerfile @@ -40,6 +40,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/scrutiny/Dockerfile b/scrutiny/Dockerfile index 490f660e8..c45acd9ce 100644 --- a/scrutiny/Dockerfile +++ b/scrutiny/Dockerfile @@ -35,6 +35,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/scrutiny_fa/Dockerfile b/scrutiny_fa/Dockerfile index 17299ca75..b6b2c280d 100644 --- a/scrutiny_fa/Dockerfile +++ b/scrutiny_fa/Dockerfile @@ -35,6 +35,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/seafile/Dockerfile b/seafile/Dockerfile index c20bb682d..ac6d492e9 100644 --- a/seafile/Dockerfile +++ b/seafile/Dockerfile @@ -41,6 +41,7 @@ USER root COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/signalk/Dockerfile b/signalk/Dockerfile index 76c7be71a..63e0c0756 100644 --- a/signalk/Dockerfile +++ b/signalk/Dockerfile @@ -44,6 +44,7 @@ RUN for file in $(grep -sril "/home/node/.signalk" /etc /usr /home); do \ COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/sonarr/Dockerfile b/sonarr/Dockerfile index 7567ccaf2..863323238 100644 --- a/sonarr/Dockerfile +++ b/sonarr/Dockerfile @@ -41,6 +41,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/sponsorblockcast/Dockerfile b/sponsorblockcast/Dockerfile index 9c1e0edf1..7cb10ea8b 100644 --- a/sponsorblockcast/Dockerfile +++ b/sponsorblockcast/Dockerfile @@ -37,6 +37,7 @@ USER root COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/spotweb/Dockerfile b/spotweb/Dockerfile index 43d8a33ae..633b606d3 100644 --- a/spotweb/Dockerfile +++ b/spotweb/Dockerfile @@ -94,6 +94,7 @@ RUN if [ -d /app ]; then chown -R nginx /app; fi COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/tandoor_recipes/Dockerfile b/tandoor_recipes/Dockerfile index 0c4cf08a5..e09703588 100644 --- a/tandoor_recipes/Dockerfile +++ b/tandoor_recipes/Dockerfile @@ -35,6 +35,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/tdarr/Dockerfile b/tdarr/Dockerfile index cb03408ce..8e1d46345 100644 --- a/tdarr/Dockerfile +++ b/tdarr/Dockerfile @@ -35,6 +35,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/teamspeak/Dockerfile b/teamspeak/Dockerfile index e5ace5532..8c7966cdb 100644 --- a/teamspeak/Dockerfile +++ b/teamspeak/Dockerfile @@ -42,6 +42,7 @@ VOLUME [ "/data:/var/ts3server/" ] COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/transmission/Dockerfile b/transmission/Dockerfile index 7ea462140..8c4e2f9b6 100644 --- a/transmission/Dockerfile +++ b/transmission/Dockerfile @@ -51,6 +51,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/transmission_openvpn/Dockerfile b/transmission_openvpn/Dockerfile index ccbe867bb..a84550ad9 100644 --- a/transmission_openvpn/Dockerfile +++ b/transmission_openvpn/Dockerfile @@ -41,6 +41,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/ubooquity/Dockerfile b/ubooquity/Dockerfile index 7f1a6ff3d..7f095dbff 100644 --- a/ubooquity/Dockerfile +++ b/ubooquity/Dockerfile @@ -51,6 +51,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/unpackerr/Dockerfile b/unpackerr/Dockerfile index 825c0d4aa..d2c56e162 100644 --- a/unpackerr/Dockerfile +++ b/unpackerr/Dockerfile @@ -39,6 +39,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/webtop_kde/Dockerfile b/webtop_kde/Dockerfile index 1514ea45c..7886f8da1 100644 --- a/webtop_kde/Dockerfile +++ b/webtop_kde/Dockerfile @@ -50,6 +50,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/webtrees/Dockerfile b/webtrees/Dockerfile index dfa24b741..a14595931 100644 --- a/webtrees/Dockerfile +++ b/webtrees/Dockerfile @@ -47,6 +47,7 @@ RUN \ COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/wger/Dockerfile b/wger/Dockerfile index fd51c3683..cc1de2312 100644 --- a/wger/Dockerfile +++ b/wger/Dockerfile @@ -47,6 +47,7 @@ RUN echo "wger ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers && \ COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/whatsapper/Dockerfile b/whatsapper/Dockerfile index 2f1c0fd95..7f3a858ba 100644 --- a/whatsapper/Dockerfile +++ b/whatsapper/Dockerfile @@ -37,6 +37,7 @@ USER root COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/whoogle/Dockerfile b/whoogle/Dockerfile index 882f647bc..75fdbbbb0 100644 --- a/whoogle/Dockerfile +++ b/whoogle/Dockerfile @@ -41,6 +41,7 @@ RUN \ COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/xteve/Dockerfile b/xteve/Dockerfile index 902430031..6c85becad 100644 --- a/xteve/Dockerfile +++ b/xteve/Dockerfile @@ -41,6 +41,7 @@ RUN cp -vnpr /home/xteve* /data || true COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/zoneminder/Dockerfile b/zoneminder/Dockerfile index eb3bc052a..daf87a05b 100644 --- a/zoneminder/Dockerfile +++ b/zoneminder/Dockerfile @@ -46,6 +46,7 @@ RUN sed -i 's|/etc/zm.conf|/config/addons_config/zoneminder/zm.conf|g' /usr/loca COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/zzz_archived_bitwarden/Dockerfile b/zzz_archived_bitwarden/Dockerfile index e85c431d2..ba990c0cd 100644 --- a/zzz_archived_bitwarden/Dockerfile +++ b/zzz_archived_bitwarden/Dockerfile @@ -43,6 +43,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/zzz_archived_code-server/Dockerfile b/zzz_archived_code-server/Dockerfile index 02cf0fc9b..f0f639a25 100644 --- a/zzz_archived_code-server/Dockerfile +++ b/zzz_archived_code-server/Dockerfile @@ -41,6 +41,7 @@ RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGL COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules diff --git a/zzz_archived_paperless_ngx/Dockerfile b/zzz_archived_paperless_ngx/Dockerfile index 9a947364f..d924c4f0f 100644 --- a/zzz_archived_paperless_ngx/Dockerfile +++ b/zzz_archived_paperless_ngx/Dockerfile @@ -39,6 +39,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ COPY rootfs/ / # Uses /bin for compatibility purposes +# hadolint ignore=SC2114 RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi # Modules