mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-02-01 17:37:44 +01:00
Update Dockerfile to remove root user settings
Removed root user and LSIO non-root user environment variable.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user