Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task/LNP:-843: Update PHP from 8.1.11 to 8.1.29 #600

Merged
merged 3 commits into from
Jul 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

# Specify amd64 platform, as otherwise M1 macs will download an arm version, which won't be compatible with some
# of the things we run, like kubectl.
FROM --platform=linux/amd64 php:8.1.11-apache-buster AS base
FROM --platform=linux/amd64 php:8.1.29-apache-bookworm AS base

# install the PHP extensions we need
RUN set -eux; \
Expand Down Expand Up @@ -46,6 +46,7 @@ RUN set -eux; \
apt-mark manual $savedAptMark; \
ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so \
| awk '/=>/ { print $3 }' \
| awk '{print $1} {system("realpath " $1)}' \
| sort -u \
| xargs -r dpkg-query -S \
| cut -d: -f1 \
Expand Down