mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 18:31:02 +01:00
Update Dockerfile
This commit is contained in:
@@ -31,10 +31,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
|
||||
# hadolint ignore=SC2015,DL4006,SC2013,SC2086
|
||||
RUN \
|
||||
# Change home folder location
|
||||
usermod --home /share/webtop_kde abc && \
|
||||
\
|
||||
# Hook scripts
|
||||
sed -i "1a /./entrypoint.sh" /etc/s6-overlay/s6-rc.d/init-adduser/run
|
||||
usermod --home /share/webtop_kde abc
|
||||
|
||||
# Global LSIO modifications
|
||||
ARG CONFIGLOCATION="/share/webtop_kde"
|
||||
@@ -100,7 +97,11 @@ RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get
|
||||
# 4 Entrypoint #
|
||||
################
|
||||
|
||||
#RUN chmod 777 /entrypoint.sh
|
||||
# Entrypoint logic
|
||||
RUN chmod 777 /entrypoint.sh && \
|
||||
mv /etc/cont-init.d/* /etc/scripts && \
|
||||
sed -i "s|/etc/cont-init.d|/etc/scripts|g" /entrypoint.sh && \
|
||||
sed -i "1a /./entrypoint.sh" /etc/s6-overlay/s6-rc.d/init-adduser/run
|
||||
#WORKDIR /
|
||||
#ENTRYPOINT [ "/usr/bin/env" ]
|
||||
#CMD [ "/entrypoint.sh" ]
|
||||
|
||||
Reference in New Issue
Block a user