Skip to content

Switch the docker build to Ubuntu 26.#2996

Open
drgrice1 wants to merge 2 commits into
openwebwork:WeBWorK-2.21from
drgrice1:docker-build-update-ubuntu-26
Open

Switch the docker build to Ubuntu 26.#2996
drgrice1 wants to merge 2 commits into
openwebwork:WeBWorK-2.21from
drgrice1:docker-build-update-ubuntu-26

Conversation

@drgrice1
Copy link
Copy Markdown
Member

@drgrice1 drgrice1 commented Jun 1, 2026

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.

Note that this is built on top of #2958.

drgrice1 added 2 commits May 27, 2026 13:45
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.
@drgrice1 drgrice1 changed the base branch from main to WeBWorK-2.21 June 1, 2026 18:29
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