Skip to content

Commit c8f3ec8

Browse files
committed
Revert and change quotes
1 parent 74b7160 commit c8f3ec8

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

Docker/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ ENV TRUSTED_PROXY=''
6363
ENTRYPOINT ["./Docker/entrypoint.sh"]
6464

6565
EXPOSE 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")

Docker/Dockerfile-Alpine

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,6 @@ ENV TRUSTED_PROXY=''
5959
ENTRYPOINT ["./Docker/entrypoint.sh"]
6060

6161
EXPOSE 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")

Docker/Dockerfile-Newest

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,6 @@ ENV TRUSTED_PROXY=''
6262
ENTRYPOINT ["./Docker/entrypoint.sh"]
6363

6464
EXPOSE 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")

Docker/Dockerfile-Oldest

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,6 @@ ENV TRUSTED_PROXY=''
6060
ENTRYPOINT ["./Docker/entrypoint.sh"]
6161

6262
EXPOSE 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")

0 commit comments

Comments
 (0)