Update Dockerfile

This commit is contained in:
Alexandre
2025-02-07 15:04:29 +01:00
committed by GitHub
parent c7590da6fc
commit 28fb78924f

View File

@@ -82,7 +82,7 @@ RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif.
# Adapt shebang
RUN \
# Adapt files
for files in /etc/cont-init.d; do sed -i "s|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g" "$files"; done
for files in /etc/cont-init.d/*; do sed -i "s|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g" "$files"; done
#sed -i "s|/command/with-contenv bashio|/bin/bash bashio|g" /ha_entrypoint.sh && \
# Allow passwordless root
#echo "www-data ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers && \