From 0a297addc060692f163c2614aa9989f5840f494a Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sun, 21 Jul 2019 12:49:29 +0200 Subject: Add php-gmp for API in Ubuntu 32-bit (#2450) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit And adjust slightly the HEALTHCHECK parameters for faster start in Træfik --- Docker/Dockerfile | 4 ++-- Docker/Dockerfile-Alpine | 2 +- Docker/Dockerfile-QEMU-ARM | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'Docker') diff --git a/Docker/Dockerfile b/Docker/Dockerfile index eea2ea49c..1eac3687b 100644 --- a/Docker/Dockerfile +++ b/Docker/Dockerfile @@ -7,7 +7,7 @@ RUN apt update && \ apt install --no-install-recommends -y \ ca-certificates cron curl \ apache2 libapache2-mod-php \ - php-curl php-intl php-mbstring php-xml php-zip \ + php-curl php-gmp php-intl php-mbstring php-xml php-zip \ php-sqlite3 php-mysql php-pgsql && \ rm -rf /var/lib/apt/lists/* @@ -55,5 +55,5 @@ CMD ([ -z "$CRON_MIN" ] || cron) && \ . /etc/apache2/envvars && \ exec apache2 -D FOREGROUND -HEALTHCHECK --start-period=8s --interval=67s --timeout=5s --retries=3 \ +HEALTHCHECK --start-period=20s --interval=37s --timeout=5s --retries=3 \ CMD curl -fsS 'http://localhost/i/' | grep -q 'jsonVars' || exit 1 diff --git a/Docker/Dockerfile-Alpine b/Docker/Dockerfile-Alpine index 4078ad0cb..1715ff778 100644 --- a/Docker/Dockerfile-Alpine +++ b/Docker/Dockerfile-Alpine @@ -52,5 +52,5 @@ EXPOSE 80 CMD ([ -z "$CRON_MIN" ] || crond -d 6) && \ exec httpd -D FOREGROUND -HEALTHCHECK --start-period=8s --interval=67s --timeout=5s --retries=3 \ +HEALTHCHECK --start-period=20s --interval=37s --timeout=5s --retries=3 \ CMD curl -fsS 'http://localhost/i/' | grep -q 'jsonVars' || exit 1 diff --git a/Docker/Dockerfile-QEMU-ARM b/Docker/Dockerfile-QEMU-ARM index fb136e34e..87a807350 100644 --- a/Docker/Dockerfile-QEMU-ARM +++ b/Docker/Dockerfile-QEMU-ARM @@ -13,7 +13,7 @@ RUN apt update && \ apt install --no-install-recommends -y \ ca-certificates cron curl \ apache2 libapache2-mod-php \ - php-curl php-intl php-mbstring php-xml php-zip \ + php-curl php-gmp php-intl php-mbstring php-xml php-zip \ php-sqlite3 php-mysql php-pgsql && \ rm -rf /var/lib/apt/lists/* @@ -67,5 +67,5 @@ CMD ([ -z "$CRON_MIN" ] || cron) && \ . /etc/apache2/envvars && \ exec apache2 -D FOREGROUND -HEALTHCHECK --start-period=8s --interval=67s --timeout=5s --retries=3 \ +HEALTHCHECK --start-period=20s --interval=37s --timeout=5s --retries=3 \ CMD curl -fsS 'http://localhost/i/' | grep -q 'jsonVars' || exit 1 -- cgit v1.2.3