mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-15 11:59:11 +02:00
Update Dockerfile
https://github.com/alexbelgium/hassio-addons/issues/1118
This commit is contained in:
@@ -69,6 +69,10 @@ RUN sed -i "2a source /ha_entrypoint.sh" /sbin/docker-entrypoint.sh && \
|
|||||||
sed -i "s=/./=source /=g" /ha_entrypoint.sh && \
|
sed -i "s=/./=source /=g" /ha_entrypoint.sh && \
|
||||||
sed -i "s=env bash=env bashio=g" /sbin/docker-entrypoint.sh
|
sed -i "s=env bash=env bashio=g" /sbin/docker-entrypoint.sh
|
||||||
|
|
||||||
|
RUN \
|
||||||
|
# Activate imagemagick
|
||||||
|
sed -i "s/rights=\"none\"/rights=\"read|write\"/g" /etc/ImageMagick-6/policy.xml
|
||||||
|
|
||||||
#ENTRYPOINT [ "/usr/bin/env" ]
|
#ENTRYPOINT [ "/usr/bin/env" ]
|
||||||
#CMD [ "/ha_entrypoint.sh" ]
|
#CMD [ "/ha_entrypoint.sh" ]
|
||||||
#SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
#SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||||
|
|||||||
Reference in New Issue
Block a user