Release 2.0: PHP 8.2, Ubuntu 22.04, major re-structure & cleanup
๐ฅณ This PR is currently in testing!
View Latest Source & Documentation (README)
View the dev branch for the latest source code: https://github.com/serversideup/docker-php/tree/dev
Access the Docker Images
You can test these changes with any image tagged beta: https://hub.docker.com/r/serversideup/php/tags?name=beta&page=1&ordering=-name
๐จ BEFORE MERGING (note to self)
๐ Deployment
- [ ] Merge this PR first: https://github.com/serversideup/docker-baseimage-s6-overlay-ubuntu/pull/7
- [ ] Adjust the images for "beta" to build on "main" https://github.com/serversideup/docker-php/blob/b94f2018ae59d5e28ef5c855a51b5c10ca2ab0a4/.github/workflows/docker-publish-beta.yml#L3-L7
๐จโ๐ฌ Things to test
- [x] Ensure remote IP still works for NGINX (with CloudFlare)
- [x] Ensure remote IP still works for Apache (with CloudFlare)
โจ Enhancements (showing progress)
- [x] Added PHP 8.2 support
- [x] Added Multi-arch docker image support ๐ช
- [x] Use Ubuntu 22.04 as base image
- [x] Added healthchecks on initialization (#75)
- [x] Upgrade all scripts and init structures to use S6 Overlay 3.x standards
- [x] Allow
openbase_dirto be controlled by an environment variable - [x] Added
php_intlpackage (#56) - [x] Added
bcmathpackage (#58) - [X] Allow SSL to be configured with
SSL_MODE(https://github.com/serversideup/docker-php/pull/79)
๐งผ Cleanup
- [x] Eliminated all development dependencies (other than having Docker installed)
- [x] Reorganized repository to have all source code in
/srcdirectory - [x] Improved Verbosity to be less noisy, but configurable by the
S6_VERBOSITYvariable - [x] Improved build script to accept arguments on which versions to build
- [x] CI: Change
mainto be the "beta" and production images only to be built on release
๐ Fixes (showing progress)
- [x] Prevent PHP flags from being too strict (#45)
- [x] Fixed initialization order of PHP-FPM services (https://community.serversideup.net/t/502-bad-gateway-on-google-cloud-run/700)
- [x] Fixed GPG signing issue with Ondrej repos
- [x] Fixed "laravel-automations" script where it was not passing environment variables set via
docker run(View Related Discussion โ)
๐ Migrating from V1
- There are no breaking changes. Everything should continue to work without any changes on your end ๐
For anyone following this thread, I have everything ready and I am testing it internally now.
Assuming everything goes well, I will merge this soon ๐
If you want to test these images:
Pull anything beta-*: https://hub.docker.com/r/serversideup/php/tags?page=1&ordering=-name&name=beta-
Are there any plans to add PHP 8.2 support? Thanks in advance!
๐ We hit "feature freeze" for the next release
Today I completed all the features for the "2.0 Release" of our Docker Images. There are a ton of changes, but they are all documented at the top of this PR.
There are NOT any breaking changes in this release ๐
View Latest Source
View the dev branch for the latest source code: https://github.com/serversideup/docker-php/tree/dev
Access the Docker Images
You can test these changes with any image tagged beta: https://hub.docker.com/r/serversideup/php/tags?name=beta&page=1&ordering=-name
๐ Next Steps
- I will be testing these images on some internal projects over the next week or so
- Test it out yourself and let me know if you have any issues!
- If things feel good on my internal projects and GitHub issues seems pretty silent, I will be merging these into "stable" in the next week or two
Thanks for all your help contributors!