From 573efeb5e3c3cd44cdd878ba04b7bf6005466ec5 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 9 Mar 2022 19:07:30 +0100 Subject: [PATCH] Update Dockerfile --- zoneminder/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zoneminder/Dockerfile b/zoneminder/Dockerfile index 8038f25f1..45b26359f 100644 --- a/zoneminder/Dockerfile +++ b/zoneminder/Dockerfile @@ -65,6 +65,9 @@ RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get ################ RUN chmod 777 /etc/cont-init.d/* +RUN set -x \ + && find /etc/cont-init.d -type f -print0 | xargs -0 -n 1 -P 4 dos2unix \ + && chmod -R +x * #RUN chmod 777 /entrypoint.sh #ENTRYPOINT [ "/usr/bin/env" ]