From 4dc43b2e5937518e2b612783f251526831daf7f6 Mon Sep 17 00:00:00 2001 From: Jon Bendtsen Date: Mon, 17 Mar 2025 23:04:18 +0100 Subject: [PATCH 1/2] disable apache cgi-bin because dolibarr doesn't seem to use it --- Dockerfile.template | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile.template b/Dockerfile.template index 9e4187a..04f3312 100644 --- a/Dockerfile.template +++ b/Dockerfile.template @@ -70,6 +70,7 @@ RUN apt-get update -y \ vim-tiny \ cron \ && apt-get autoremove -y \ + && a2disconf serve-cgi-bin \ && docker-php-ext-configure gd --with-freetype --with-jpeg \ && docker-php-ext-install -j$(nproc) calendar intl mysqli pdo_mysql gd soap zip opcache tidy \ && docker-php-ext-configure pgsql -with-pgsql \ From 573469547f2cbe6c8be8e15ac527cfa42164011c Mon Sep 17 00:00:00 2001 From: Demo for Dolibarr Date: Wed, 19 Mar 2025 20:59:43 +0100 Subject: [PATCH 2/2] changing all the Dockerfiles --- images/15.0.3-php7.4/Dockerfile | 1 + images/16.0.5-php8.1/Dockerfile | 1 + images/17.0.4-php8.1/Dockerfile | 1 + images/18.0.6-php8.1/Dockerfile | 1 + images/19.0.4-php8.2/Dockerfile | 1 + images/20.0.4-php8.2/Dockerfile | 1 + images/21.0.0-php8.2/Dockerfile | 1 + images/develop/Dockerfile | 1 + 8 files changed, 8 insertions(+) diff --git a/images/15.0.3-php7.4/Dockerfile b/images/15.0.3-php7.4/Dockerfile index 5ac531a..29c29af 100644 --- a/images/15.0.3-php7.4/Dockerfile +++ b/images/15.0.3-php7.4/Dockerfile @@ -70,6 +70,7 @@ RUN apt-get update -y \ vim-tiny \ cron \ && apt-get autoremove -y \ + && a2disconf serve-cgi-bin \ && docker-php-ext-configure gd --with-freetype --with-jpeg \ && docker-php-ext-install -j$(nproc) calendar intl mysqli pdo_mysql gd soap zip opcache tidy \ && docker-php-ext-configure pgsql -with-pgsql \ diff --git a/images/16.0.5-php8.1/Dockerfile b/images/16.0.5-php8.1/Dockerfile index 72a44cc..53dbd2f 100644 --- a/images/16.0.5-php8.1/Dockerfile +++ b/images/16.0.5-php8.1/Dockerfile @@ -70,6 +70,7 @@ RUN apt-get update -y \ vim-tiny \ cron \ && apt-get autoremove -y \ + && a2disconf serve-cgi-bin \ && docker-php-ext-configure gd --with-freetype --with-jpeg \ && docker-php-ext-install -j$(nproc) calendar intl mysqli pdo_mysql gd soap zip opcache tidy \ && docker-php-ext-configure pgsql -with-pgsql \ diff --git a/images/17.0.4-php8.1/Dockerfile b/images/17.0.4-php8.1/Dockerfile index 987274a..48b9bb2 100644 --- a/images/17.0.4-php8.1/Dockerfile +++ b/images/17.0.4-php8.1/Dockerfile @@ -70,6 +70,7 @@ RUN apt-get update -y \ vim-tiny \ cron \ && apt-get autoremove -y \ + && a2disconf serve-cgi-bin \ && docker-php-ext-configure gd --with-freetype --with-jpeg \ && docker-php-ext-install -j$(nproc) calendar intl mysqli pdo_mysql gd soap zip opcache tidy \ && docker-php-ext-configure pgsql -with-pgsql \ diff --git a/images/18.0.6-php8.1/Dockerfile b/images/18.0.6-php8.1/Dockerfile index 7596ffa..3e66f60 100644 --- a/images/18.0.6-php8.1/Dockerfile +++ b/images/18.0.6-php8.1/Dockerfile @@ -70,6 +70,7 @@ RUN apt-get update -y \ vim-tiny \ cron \ && apt-get autoremove -y \ + && a2disconf serve-cgi-bin \ && docker-php-ext-configure gd --with-freetype --with-jpeg \ && docker-php-ext-install -j$(nproc) calendar intl mysqli pdo_mysql gd soap zip opcache tidy \ && docker-php-ext-configure pgsql -with-pgsql \ diff --git a/images/19.0.4-php8.2/Dockerfile b/images/19.0.4-php8.2/Dockerfile index 8c277fd..7c095d0 100644 --- a/images/19.0.4-php8.2/Dockerfile +++ b/images/19.0.4-php8.2/Dockerfile @@ -70,6 +70,7 @@ RUN apt-get update -y \ vim-tiny \ cron \ && apt-get autoremove -y \ + && a2disconf serve-cgi-bin \ && docker-php-ext-configure gd --with-freetype --with-jpeg \ && docker-php-ext-install -j$(nproc) calendar intl mysqli pdo_mysql gd soap zip opcache tidy \ && docker-php-ext-configure pgsql -with-pgsql \ diff --git a/images/20.0.4-php8.2/Dockerfile b/images/20.0.4-php8.2/Dockerfile index d0a9cb8..7e226d5 100644 --- a/images/20.0.4-php8.2/Dockerfile +++ b/images/20.0.4-php8.2/Dockerfile @@ -70,6 +70,7 @@ RUN apt-get update -y \ vim-tiny \ cron \ && apt-get autoremove -y \ + && a2disconf serve-cgi-bin \ && docker-php-ext-configure gd --with-freetype --with-jpeg \ && docker-php-ext-install -j$(nproc) calendar intl mysqli pdo_mysql gd soap zip opcache tidy \ && docker-php-ext-configure pgsql -with-pgsql \ diff --git a/images/21.0.0-php8.2/Dockerfile b/images/21.0.0-php8.2/Dockerfile index ee134f8..0a4a5ac 100644 --- a/images/21.0.0-php8.2/Dockerfile +++ b/images/21.0.0-php8.2/Dockerfile @@ -70,6 +70,7 @@ RUN apt-get update -y \ vim-tiny \ cron \ && apt-get autoremove -y \ + && a2disconf serve-cgi-bin \ && docker-php-ext-configure gd --with-freetype --with-jpeg \ && docker-php-ext-install -j$(nproc) calendar intl mysqli pdo_mysql gd soap zip opcache tidy \ && docker-php-ext-configure pgsql -with-pgsql \ diff --git a/images/develop/Dockerfile b/images/develop/Dockerfile index 3204373..cac223c 100644 --- a/images/develop/Dockerfile +++ b/images/develop/Dockerfile @@ -70,6 +70,7 @@ RUN apt-get update -y \ vim-tiny \ cron \ && apt-get autoremove -y \ + && a2disconf serve-cgi-bin \ && docker-php-ext-configure gd --with-freetype --with-jpeg \ && docker-php-ext-install -j$(nproc) calendar intl mysqli pdo_mysql gd soap zip opcache tidy \ && docker-php-ext-configure pgsql -with-pgsql \