A few docker images for OMP where released here:
Those images introduce relevant changes from older ones (still as a proof of concept):
- Now based on debian (yes, a little heavier but more complete and easier to work with than alpine).
- Updated to PHP 8.3 (with all the php-extensions required).
- OMP & OJS convergence (same vars and scripts for both tools).
- Image building from tarballs.
- Finally, errors in stderr (could be reversed to files with a change in php.ini or similar…).
- Also finally, error fixing (GD support, dates suport…).
- Updated to mariadb:11.8 (last stable).
- Postgres support (not tested).
- Images moved to multi-stage and code is more readable.
- Apps, dependences and php-extensions are variables (easier to read and to change).
- Building parameters (build and image is changing your .env and run a
dc build
). - Image Release file at /var/www/container.version
- Docker-compose refers local built image (not sure yet if this is good or bad).
- Minor changes
This work is following the roadmap we defined in the RFC called “pkpContainers: A Proposal for Unification” written with @AndrewGearhart so long ago.
Of all the changes, for me, the most significant is that we can now create images and maintain OJS and OMP in the same way. This will allow images to be released much faster or even automated with GitHub Actions right after each release.
WARNING: Those images are not yet tested on production. Please use with caution.
Any comment or feedback is really welcome.