Update Dockerfile to remove root user settings

Removed root user and LSIO non-root user environment variable.
This commit is contained in:
Alexandre
2026-01-31 14:47:35 +01:00
committed by GitHub
parent 6eb8a8b149
commit 412fbbd2d7

View File

@@ -27,10 +27,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 \
S6_SERVICES_GRACETIME=0
USER root
# Global LSIO modifications
ENV LSIO_NON_ROOT_USER=0
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh"
ARG CONFIGLOCATION="/config"
RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi && rm /ha_lsio.sh