mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Update Dockerfile
This commit is contained in:
@@ -80,6 +80,7 @@ ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templat
|
|||||||
RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif.sh && rm /ha_entrypoint_modif.sh
|
RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif.sh && rm /ha_entrypoint_modif.sh
|
||||||
|
|
||||||
# Adapt shebang
|
# Adapt shebang
|
||||||
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||||
RUN \
|
RUN \
|
||||||
# Run as www-data
|
# Run as www-data
|
||||||
sed -i "s|/usr|sudo -Eu www-data /usr|g" /etc/s6*/s6*/php-fpm/run && \
|
sed -i "s|/usr|sudo -Eu www-data /usr|g" /etc/s6*/s6*/php-fpm/run && \
|
||||||
|
|||||||
Reference in New Issue
Block a user