mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-08 08:35:57 +02:00
Update Dockerfile
This commit is contained in:
@@ -83,6 +83,9 @@ RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif.
|
|||||||
RUN \
|
RUN \
|
||||||
# Run as www-data
|
# Run as www-data
|
||||||
sed -i "s|/usr|gosu www-data /usr|g" /etc/s6*/s6*/php-fpm/run && \
|
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
|
# 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
|
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 && \
|
||||||
|
|||||||
Reference in New Issue
Block a user