Change user to root in Dockerfile

Switch to root user before adding labels.
This commit is contained in:
Alexandre
2026-03-11 14:44:33 +01:00
committed by GitHub
parent 1f1c5aa06f
commit b49d5e9b62

View File

@@ -116,6 +116,8 @@ RUN chmod 777 /ha_entrypoint.sh
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh"
RUN chmod 0755 /usr/local/lib/bashio-standalone.sh
USER root
############
# 5 Labels #
############