From 31d6f36ca1a197542e80f3288b675121c60559f2 Mon Sep 17 00:00:00 2001 From: Pablo Zmdl Date: Fri, 6 Dec 2024 15:57:43 +0100 Subject: [PATCH] Keep the PHP headers in all images f1bba7f removed it from apache/Dockerfile only, which even gets overwritten by update.sh --- fpm-alpine/Dockerfile | 2 -- fpm/Dockerfile | 2 -- templates/Dockerfile-alpine.templ | 2 -- templates/Dockerfile-debian.templ | 2 -- 4 files changed, 8 deletions(-) diff --git a/fpm-alpine/Dockerfile b/fpm-alpine/Dockerfile index 119ac1839..4c9fa3348 100644 --- a/fpm-alpine/Dockerfile +++ b/fpm-alpine/Dockerfile @@ -56,8 +56,6 @@ RUN set -ex; \ ; \ docker-php-ext-enable imagick opcache redis; \ docker-php-source delete; \ -# Header files ".h" - rm -r /usr/local/include/php/ext; \ rm -r /tmp/pear; \ # Display installed modules php -m; \ diff --git a/fpm/Dockerfile b/fpm/Dockerfile index 0fba5ccde..d5aab2b4f 100644 --- a/fpm/Dockerfile +++ b/fpm/Dockerfile @@ -56,8 +56,6 @@ RUN set -ex; \ ; \ docker-php-ext-enable imagick opcache redis; \ docker-php-source delete; \ -# Header files ".h" - rm -r /usr/local/include/php/ext; \ rm -r /tmp/pear; \ # Display installed modules php -m; \ diff --git a/templates/Dockerfile-alpine.templ b/templates/Dockerfile-alpine.templ index 2dd9e96d5..5731c2cc6 100644 --- a/templates/Dockerfile-alpine.templ +++ b/templates/Dockerfile-alpine.templ @@ -56,8 +56,6 @@ RUN set -ex; \ ; \ docker-php-ext-enable imagick opcache redis; \ docker-php-source delete; \ -# Header files ".h" - rm -r /usr/local/include/php/ext; \ rm -r /tmp/pear; \ # Display installed modules php -m; \ diff --git a/templates/Dockerfile-debian.templ b/templates/Dockerfile-debian.templ index 1f8a04d23..ccda8b709 100644 --- a/templates/Dockerfile-debian.templ +++ b/templates/Dockerfile-debian.templ @@ -56,8 +56,6 @@ RUN set -ex; \ ; \ docker-php-ext-enable imagick opcache redis; \ docker-php-source delete; \ -# Header files ".h" - rm -r /usr/local/include/php/ext; \ rm -r /tmp/pear; \ # Display installed modules php -m; \