Switch the docker build to Ubuntu 26.#2996
Open
drgrice1 wants to merge 2 commits into
Open
Conversation
Update to node 24 in the build instead of node 20. Update the Perl::Tidy version to the version currently used in development. Don't install the `Statistics::R::IO` module. That is not used anymore. Update to the mariadb 10.11 docker image for the database volume. That should have been done before when I updated the docker build to Ubuntu 24. That matches the version of mariadb in Ubuntu 24. Remove the `--db-layout` option that was passed to the `addcourse` script. That is not valid for the script anymore. Note that this depends on openwebwork#2957, since the docker build will fail without the bug in the `addcourse` script fixed.
The `DBD::MariaDB` package is provided by the Ubuntu `libdb-mariadb-perl` package again. So that does not need to be installed from cpan anymore. Also change the mariadb docker image to version 11.8 to match the version used by Ubuntu 26. The `libio-compress-perl` Ubuntu package is a dependency of the `Archive::Zip::SimpleZip` Perl package that is needed since the Perl packages it provides fail to build when installed from cpan. It may be that they just need some other build dependency, but it is better to install the Ubuntu packages anyway. Several dependencies of the Perl `Net::SAML2` package were added to speed up the build some and avoid these being installed from cpan. Remove `install` from the `cpanm` command. That isn't a command or option for the `cpanm` command and results in the `install` perl package being installed which isn't needed. The `pgfsys-dvisvgm-bbox-fix.patch` file is not needed for Ubuntu 26. Its changes are included in upstream file installed on the system. Fix the comments about executing `docker compose`. That is no longer executed as `docker-compose`. Update the `docker-entrypoint.sh` to use `libpapers2`. The `libpapers1` package no longer exists. The `newgrp` command used in the `docker-entrypoint.sh` script is no longer is installed by default. The `util-linux-extra` package is needed for that.
Alex-Jordan
approved these changes
Jun 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
DBD::MariaDBpackage is provided by the Ubuntulibdb-mariadb-perlpackage again. So that does not need to be installed from cpan anymore.Also change the mariadb docker image to version 11.8 to match the version used by Ubuntu 26.
The
libio-compress-perlUbuntu package is a dependency of theArchive::Zip::SimpleZipPerl package that is needed since the Perl packages it provides fail to build when installed from cpan. It may be that they just need some other build dependency, but it is better to install the Ubuntu packages anyway.Several dependencies of the Perl
Net::SAML2package were added to speed up the build some and avoid these being installed from cpan.Remove
installfrom thecpanmcommand. That isn't a command or option for thecpanmcommand and results in theinstallperl package being installed which isn't needed.The
pgfsys-dvisvgm-bbox-fix.patchfile is not needed for Ubuntu 26. Its changes are included in upstream file installed on the system.Fix the comments about executing
docker compose. That is no longer executed asdocker-compose.Update the
docker-entrypoint.shto uselibpapers2. Thelibpapers1package no longer exists.The
newgrpcommand used in thedocker-entrypoint.shscript is no longer is installed by default. Theutil-linux-extrapackage is needed for that.Note that this is built on top of #2958.