mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-03-03 16:00:29 +01:00
Lint
This commit is contained in:
@@ -34,7 +34,7 @@ ENV NEXTCLOUD_PATH="/data/config/www/nextcloud"
|
||||
# Global LSIO modifications
|
||||
ARG CONFIGLOCATION="/data/config"
|
||||
# hadolint ignore=SC2013
|
||||
# shellcheck disable=SC2046,SC2013
|
||||
# shellcheck disable=SC2046,SC2013,SC2086
|
||||
RUN \
|
||||
# Remove upstream files
|
||||
rm -rf /etc/cont-init.d/10-adduser /etc/cont-init.d/30-keygen /etc/cont-init.d/40-config /etc/cont-init.d/50-install /etc/cont-init.d/60-memcache /etc/cont-init.d/70-aliases \
|
||||
|
||||
@@ -28,7 +28,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
|
||||
S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 \
|
||||
S6_SERVICES_GRACETIME=0
|
||||
|
||||
# hadolint ignore=SC2015,DL4006,SC2013
|
||||
# hadolint ignore=SC2015,DL4006,SC2013,SC2086
|
||||
RUN \
|
||||
# Correct sync folder
|
||||
for file in $(grep -Esril "/sync[ '\"/]|/sync\$" /etc/logrotate.d /defaults /etc/cont-init.d /etc/services.d /etc/s6-overlay/s6-rc.d); do sed -i "s=/sync=/share/resiliosync=g" $file; done \
|
||||
|
||||
@@ -28,7 +28,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
|
||||
S6_SERVICES_GRACETIME=0
|
||||
|
||||
# Allow UID and GID setting
|
||||
# hadolint ignore=SC2015,DL4006,SC2013
|
||||
# hadolint ignore=SC2015,DL4006,SC2013,SC2086
|
||||
RUN \
|
||||
# Change home folder location
|
||||
usermod --home /share/webtop_kde abc \
|
||||
|
||||
Reference in New Issue
Block a user