Update Dockerfile

This commit is contained in:
Alexandre
2025-02-07 19:29:27 +01:00
committed by GitHub
parent c746d4f02f
commit 09bd77c6f7

View File

@@ -92,7 +92,7 @@ RUN \
# Change output lots
sed -i "s|/proc/self/fd/2|/log_php|g" /etc/entrypoint.d/1-log-output-level.sh && \
grep -rl "/proc/self/fd/2" /usr/local/etc | while read -r files; do sed -i "s|/proc/self/fd/2|/log_php|g" "$files"; done && \
touch /log_php && chmod www-data:www-data /log_php && \
touch /log_php && chown www-data:www-data /log_php && \
# 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 && \