Update Dockerfile

This commit is contained in:
Alexandre
2025-02-07 13:28:39 +01:00
committed by GitHub
parent 73bcba49d0
commit ebbc294ba2

View File

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