mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 04:44:05 +02:00
Switch to user 'netalertx' in Dockerfile
This commit is contained in:
@@ -76,6 +76,8 @@ RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif.
|
|||||||
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh"
|
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh"
|
||||||
RUN chmod 777 /.bashio-standalone.sh
|
RUN chmod 777 /.bashio-standalone.sh
|
||||||
|
|
||||||
|
USER netalertx
|
||||||
|
|
||||||
#WORKDIR /
|
#WORKDIR /
|
||||||
#ENTRYPOINT [ "/usr/bin/env" ]
|
#ENTRYPOINT [ "/usr/bin/env" ]
|
||||||
#CMD [ "/ha_entrypoint.sh" ]
|
#CMD [ "/ha_entrypoint.sh" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user