Update Dockerfile

This commit is contained in:
Alexandre
2022-03-10 09:26:24 +01:00
committed by GitHub
parent 94233ee3ac
commit c303684d22

View File

@@ -69,7 +69,8 @@ RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get
RUN set -x && \
apt-get update && apt-get install -y dos2unix && \
chmod -R +x /etc/cont-init.d/* && \
dos2unix /etc/cont-init.d/*
dos2unix /etc/cont-init.d/* && \
sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' /etc/cont-init.d/*
#RUN chmod 777 /entrypoint.sh
ENTRYPOINT [ "/init" ]