summaryrefslogtreecommitdiffstats
path: root/26
diff options
context:
space:
mode:
authorGitHub Workflow <workflow@github.com>2023-07-24 19:36:18 +0000
committerGitHub Workflow <workflow@github.com>2023-07-24 19:36:18 +0000
commitf0f6fc1f030d50dcba35404a0bff74d92f8cb155 (patch)
tree366383375469eb78fc01966f9297321cdb47b916 /26
parentd3b3eeba85fb3efd0e939314a3019fc864812351 (diff)
Runs update.sh
Diffstat (limited to '26')
-rw-r--r--26/apache/Dockerfile6
-rw-r--r--26/fpm/Dockerfile6
2 files changed, 6 insertions, 6 deletions
diff --git a/26/apache/Dockerfile b/26/apache/Dockerfile
index c93c55f9..e8d40ccc 100644
--- a/26/apache/Dockerfile
+++ b/26/apache/Dockerfile
@@ -1,5 +1,5 @@
# DO NOT EDIT: created by update.sh from Dockerfile-debian.template
-FROM php:8.2-apache-bullseye
+FROM php:8.2-apache-bookworm
# entrypoint.sh and cron.sh dependencies
RUN set -ex; \
@@ -80,9 +80,9 @@ RUN set -ex; \
apt-mark auto '.*' > /dev/null; \
apt-mark manual $savedAptMark; \
ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so \
- | awk '/=>/ { print $3 }' \
+ | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' \
| sort -u \
- | xargs -r dpkg-query -S \
+ | xargs -r dpkg-query --search \
| cut -d: -f1 \
| sort -u \
| xargs -rt apt-mark manual; \
diff --git a/26/fpm/Dockerfile b/26/fpm/Dockerfile
index 86eba0fe..a0d54638 100644
--- a/26/fpm/Dockerfile
+++ b/26/fpm/Dockerfile
@@ -1,5 +1,5 @@
# DO NOT EDIT: created by update.sh from Dockerfile-debian.template
-FROM php:8.2-fpm-bullseye
+FROM php:8.2-fpm-bookworm
# entrypoint.sh and cron.sh dependencies
RUN set -ex; \
@@ -80,9 +80,9 @@ RUN set -ex; \
apt-mark auto '.*' > /dev/null; \
apt-mark manual $savedAptMark; \
ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so \
- | awk '/=>/ { print $3 }' \
+ | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' \
| sort -u \
- | xargs -r dpkg-query -S \
+ | xargs -r dpkg-query --search \
| cut -d: -f1 \
| sort -u \
| xargs -rt apt-mark manual; \