From f1bba7fd15a55474bf8c8f30d4af1b2ecb82d8d1 Mon Sep 17 00:00:00 2001
From: Pablo Zmdl <pablo@nextcloud.com>
Date: Tue, 3 Dec 2024 12:38:15 +0100
Subject: [PATCH] Keep PHP header files

They might be required by other packages that people building derived
container images might want to install.
---
 apache/Dockerfile | 2 --
 1 file changed, 2 deletions(-)

diff --git a/apache/Dockerfile b/apache/Dockerfile
index 1c0d7341e..5259e2658 100644
--- a/apache/Dockerfile
+++ b/apache/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; \