Skip to content

Conversation

@jnoordsij
Copy link
Contributor

Modelled after #1580.

Requires docker-library/official-images#20400.

This PR updates Alpine to the latest stable version: 3.23.

See also https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.23.0.

Notes

For PHP 8.1 I've opted instead to keep 3.21 until EOL end this year (see https://www.php.net/supported-versions.php)

For PHP 8.1 instead keep 3.21 until EOL end this year
@jnoordsij jnoordsij marked this pull request as ready for review December 3, 2025 16:49
continue
fi
if [[ "$rcVersion" = '8.1' ]] && [[ "$suite" = 'alpine3.23' ]]; then
# Keep PHP 8.1 with Alpine 3.21 default until end of year; see also https://github.com/docker-library/php/blob/9ab2e4b37addffaa10f06d9e5f54f7bd1f5ef18f/generate-stackbrew-library.sh#L120
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While reviewing, I got confused by this wording because I had forgotten about

# intl will not compile on Alpine 3.22 causing build failures for downstream images (joomla, mediawiki, wordpress): https://github.com/docker-library/php/issues/1585
# since PHP 8.1 is EOL at the end of the year and wont likely get fixes, keep the default Alpine at 3.21
| if env.version == "8.1" then
"alpine3.21"

(leaving a link here so it's obvious to others too 😂)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah it was a bit of a quick hack and wording, but with the link it should suffice for code that will only be around for a handful of weeks 😉

Copy link
Member

@tianon tianon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in 27 days

IT'S LIKE CHRISTMAS!! 🎄

@tianon tianon merged commit 5d283a4 into docker-library:master Dec 3, 2025
73 of 74 checks passed
docker-library-bot added a commit to docker-library-bot/official-images that referenced this pull request Dec 3, 2025
Changes:

- docker-library/php@5d283a4f: Merge pull request docker-library/php#1633 from jnoordsij/alpine3.23
- docker-library/php@8b6304d5: Add Alpine 3.23 and drop 3.21
yosifkit pushed a commit to docker-library/official-images that referenced this pull request Dec 4, 2025
Changes:

- docker-library/php@5d283a4f: Merge pull request docker-library/php#1633 from jnoordsij/alpine3.23
- docker-library/php@8b6304d5: Add Alpine 3.23 and drop 3.21

Co-authored-by: Docker Library Bot <doi+docker-library-bot@docker.com>
@jnoordsij jnoordsij deleted the alpine3.23 branch December 4, 2025 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants