diff --git a/zoneminder/Dockerfile b/zoneminder/Dockerfile index 3a9f4ee3e..2971290b3 100644 --- a/zoneminder/Dockerfile +++ b/zoneminder/Dockerfile @@ -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" ]