File tree Expand file tree Collapse file tree 4 files changed +9
-8
lines changed
Expand file tree Collapse file tree 4 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ ENV TRUSTED_PROXY=''
6363ENTRYPOINT ["./Docker/entrypoint.sh" ]
6464
6565EXPOSE 80
66-
6766# hadolint ignore=DL3025
68- CMD sh -c '([ -z "$CRON_MIN" ] || cron) && . /etc/apache2/envvars && if [ "${OIDC_ENABLED:-0}" -ne 0 ]; then exec apache2 -D FOREGROUND -D OIDC_ENABLED; else exec apache2 -D FOREGROUND; fi'
67+ CMD ([ -z "$CRON_MIN" ] || cron) && \
68+ . /etc/apache2/envvars && \
69+ exec apache2 -D FOREGROUND $([ "${OIDC_ENABLED:-0}" -ne 0 ] && echo "-D OIDC_ENABLED" )
Original file line number Diff line number Diff line change @@ -59,6 +59,6 @@ ENV TRUSTED_PROXY=''
5959ENTRYPOINT ["./Docker/entrypoint.sh"]
6060
6161EXPOSE 80
62-
6362# hadolint ignore=DL3025
64- CMD sh -c '([ -z "$CRON_MIN" ] || crond -d 6) && if [ "${OIDC_ENABLED:-0}" -ne 0 ]; then exec httpd -D FOREGROUND -D OIDC_ENABLED; else exec httpd -D FOREGROUND; fi'
63+ CMD ([ -z "$CRON_MIN" ] || crond -d 6) && \
64+ exec httpd -D FOREGROUND $([ "${OIDC_ENABLED:-0}" -ne 0 ] && echo "-D OIDC_ENABLED")
Original file line number Diff line number Diff line change @@ -62,6 +62,6 @@ ENV TRUSTED_PROXY=''
6262ENTRYPOINT ["./Docker/entrypoint.sh"]
6363
6464EXPOSE 80
65-
6665# hadolint ignore=DL3025
67- CMD sh -c '([ -z "$CRON_MIN" ] || crond -d 6) && if [ "${OIDC_ENABLED:-0}" -ne 0 ]; then exec httpd -D FOREGROUND -D OIDC_ENABLED; else exec httpd -D FOREGROUND; fi'
66+ CMD ([ -z "$CRON_MIN" ] || crond -d 6) && \
67+ exec httpd -D FOREGROUND $([ "${OIDC_ENABLED:-0}" -ne 0 ] && echo "-D OIDC_ENABLED")
Original file line number Diff line number Diff line change @@ -60,6 +60,6 @@ ENV TRUSTED_PROXY=''
6060ENTRYPOINT ["./Docker/entrypoint.sh"]
6161
6262EXPOSE 80
63-
6463# hadolint ignore=DL3025
65- CMD sh -c '([ -z "$CRON_MIN" ] || crond -d 6) && if [ "${OIDC_ENABLED:-0}" -ne 0 ]; then exec httpd -D FOREGROUND -D OIDC_ENABLED; else exec httpd -D FOREGROUND; fi'
64+ CMD ([ -z "$CRON_MIN" ] || crond -d 6) && \
65+ exec httpd -D FOREGROUND $([ "${OIDC_ENABLED:-0}" -ne 0 ] && echo "-D OIDC_ENABLED")
You can’t perform that action at this time.
0 commit comments