mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
Lint
This commit is contained in:
@@ -28,6 +28,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
|
||||
S6_SERVICES_GRACETIME=0
|
||||
|
||||
# MOFIFY DATA PATH
|
||||
# hadolint ignore=SC2015,DL4006,SC2013
|
||||
RUN sed -i "s|config|config/transmission|g" /etc/services.d/transmission/run \
|
||||
#&& sed -i "s|config|config/transmission|g" /etc/cont-init.d/20-config \
|
||||
# Avoid custom-init.d duplications
|
||||
|
||||
@@ -28,6 +28,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
|
||||
S6_SERVICES_GRACETIME=0
|
||||
|
||||
# Allow UID and GID setting
|
||||
# hadolint ignore=SC2015,DL4006,SC2013
|
||||
RUN grep -sril "Potential tampering with custom" /etc/cont-init.d /etc/s6-overlay/s6-rc.d | xargs -r rm \
|
||||
\
|
||||
# Prevent changing ownership of /config
|
||||
|
||||
Reference in New Issue
Block a user