diff options
author | J0WI <J0WI@users.noreply.github.com> | 2023-07-24 19:36:02 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-24 19:36:02 +0000 |
commit | d3b3eeba85fb3efd0e939314a3019fc864812351 (patch) | |
tree | d989282c995889d29a62c6227a4b02bbef919568 | |
parent | 1b913eb0e9e6106c5ab58c8a0b1b01caeaab2ffa (diff) |
Debian Bookworm (#2033)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
-rw-r--r-- | Dockerfile-debian.template | 4 | ||||
-rwxr-xr-x | update.sh | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/Dockerfile-debian.template b/Dockerfile-debian.template index f3df0472..cea5d93b 100644 --- a/Dockerfile-debian.template +++ b/Dockerfile-debian.template @@ -79,9 +79,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; \ @@ -7,7 +7,8 @@ declare -A alpine_version=( ) declare -A debian_version=( - [default]='bullseye' + [25]='bullseye' + [default]='bookworm' ) declare -A php_version=( |