mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-22 00:31:51 +02:00
Lint
This commit is contained in:
@@ -28,6 +28,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
|
|||||||
S6_SERVICES_GRACETIME=0
|
S6_SERVICES_GRACETIME=0
|
||||||
|
|
||||||
# MOFIFY DATA PATH
|
# MOFIFY DATA PATH
|
||||||
|
# hadolint ignore=SC2015,DL4006,SC2013
|
||||||
RUN sed -i "s|config|config/transmission|g" /etc/services.d/transmission/run \
|
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 \
|
#&& sed -i "s|config|config/transmission|g" /etc/cont-init.d/20-config \
|
||||||
# Avoid custom-init.d duplications
|
# Avoid custom-init.d duplications
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
|
|||||||
S6_SERVICES_GRACETIME=0
|
S6_SERVICES_GRACETIME=0
|
||||||
|
|
||||||
# Allow UID and GID setting
|
# 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 \
|
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
|
# Prevent changing ownership of /config
|
||||||
|
|||||||
Reference in New Issue
Block a user