Update Dockerfile

https://github.com/alexbelgium/hassio-addons/issues/1118
This commit is contained in:
Alexandre
2023-12-08 20:28:43 +01:00
committed by GitHub
parent bf6b5f5ab0
commit 8da9677a6f

View File

@@ -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=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" ]
#CMD [ "/ha_entrypoint.sh" ]
#SHELL ["/bin/bash", "-o", "pipefail", "-c"]