Update Dockerfile

This commit is contained in:
Alexandre
2025-02-07 15:36:21 +01:00
committed by GitHub
parent 76846238cd
commit 3a4f5be1e7

View File

@@ -83,6 +83,9 @@ RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif.
RUN \
# Run as www-data
sed -i "s|/usr|gosu www-data /usr|g" /etc/s6*/s6*/php-fpm/run && \
# Move execute things
mkdir -p /scripts && \
mv /etc/entrypoint.d/11-execute-things.sh /scripts/ && \
# 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
#sed -i "s|/command/with-contenv bashio|/bin/bash bashio|g" /ha_entrypoint.sh && \