Update Dockerfile

This commit is contained in:
Alexandre
2022-11-14 03:58:48 +01:00
committed by GitHub
parent 97062696d4
commit bdab1d6c03

View File

@@ -52,7 +52,7 @@ RUN \
# Run entrypoint
sed -i '2i /./entrypoint.sh' /sbin/docker-entrypoint.sh && \
# Source variables
sed -i "/entrypoint.sh/a source /etc/cont-init.d/90-config_yaml.sh" /sbin/docker-entrypoint.sh && \
sed -i "/\/entrypoint.sh/a source /etc/cont-init.d/90-config_yaml.sh" /sbin/docker-entrypoint.sh && \
# Set variables
sed -i '2i bashio::log.info "Defining variables"' /sbin/docker-entrypoint.sh && \
sed -i '2i if bashio::config.has_value "PUID"; then export USERMAP_UID=$(bashio::config "PUID"); fi' /sbin/docker-entrypoint.sh && \