Update Dockerfile

This commit is contained in:
Alexandre
2025-02-07 17:48:47 +01:00
committed by GitHub
parent 4554054e66
commit 9bdfdb6283

View File

@@ -90,6 +90,7 @@ RUN \
echo "www-data ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers && \
# Change output lots
sed -i "s|/proc/self/fd/2|/proc/1/fd/1|g" /etc/entrypoint.d/1-log-output-level.sh && \
for files in $(grep -rl "/proc/self/fd/2" /usr); do sed -i "s|/proc/self/fd/2|/proc/1/fd/1|g" "$files"; done && \
# 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 && \