Remove Docker heathchecks (#3161)

* Update Dockerfile

Remove heathcheck

* Update Dockerfile-Alpine

Remove heathcheck

* Update Dockerfile-QEMU-ARM

Remove heathcheck
pull/3162/head
Jucgshu 4 years ago committed by GitHub
parent cb07b13059
commit 5eef40162c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      Docker/Dockerfile
  2. 3
      Docker/Dockerfile-Alpine
  3. 3
      Docker/Dockerfile-QEMU-ARM

@ -59,6 +59,3 @@ EXPOSE 80
CMD ([ -z "$CRON_MIN" ] || cron) && \
. /etc/apache2/envvars && \
exec apache2 -D FOREGROUND
HEALTHCHECK --start-period=20s --interval=37s --timeout=5s --retries=3 \
CMD (php -r "readfile('http://localhost/i/');" | grep -q 'jsonVars') || exit 1

@ -54,6 +54,3 @@ EXPOSE 80
# hadolint ignore=DL3025
CMD ([ -z "$CRON_MIN" ] || crond -d 6) && \
exec httpd -D FOREGROUND
HEALTHCHECK --start-period=20s --interval=37s --timeout=5s --retries=3 \
CMD (php -r "readfile('http://localhost/i/');" | grep -q 'jsonVars') || exit 1

@ -71,6 +71,3 @@ EXPOSE 80
CMD ([ -z "$CRON_MIN" ] || cron) && \
. /etc/apache2/envvars && \
exec apache2 -D FOREGROUND
HEALTHCHECK --start-period=20s --interval=37s --timeout=5s --retries=3 \
CMD (php -r "readfile('http://localhost/i/');" | grep -q 'jsonVars') || exit 1

Loading…
Cancel
Save