Skip to content

Conversation

@gilles-peskine-arm
Copy link
Contributor

@gilles-peskine-arm gilles-peskine-arm commented Nov 27, 2025

Step 1/2 of #228: add Ubuntu 24.04 Dockerfile.

Also remove 20.04 which wasn't used, and replace 22.04 because we aren't doing anything that would benefit from 22.04 as opposed to 24.04.

Keep arm-compilers at Ubuntu 20.04 because changing that triggers a license problem that I don't want to deal with.

Move clang-latest and gcc-latest forward while I'm at it: clang-latest to the current non-beta Clang, and gcc-latest to GCC 14 (not 15 because of Mbed-TLS/TF-PSA-Crypto#584).

Test job:

`docker build` truncates our long image name when it has fancy
formatted output.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This makes the output suitable for `build.sh`, which expects a single
image name for a given prefix.

Fixes #204

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This changes the order, but in a way that shouldn't matter: we still
have amd64 prioritized over arm64, and Ubuntu versions in the same order.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
No `all.sh` component is currently using 20.04. Currently, the default
is 16.04, some components have requirements that cause 18.04 to be used,
and a few components have requirements that cause 22.04 to be used.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
Moved the ubuntu-22.04 Dockerfile with the version number changed.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
Register `ubuntu-24.04` Docker image instead of `ubuntu-22.04`.

The jobs that were running on Ubuntu 22.04 due to tool dependencies
will now run on Ubuntu 24.04.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
For `gcc-latest`, move to GCC 14 which is the latest in this version
of Ubuntu. Don't move to GCC 15 even though we're already using it
because setting `gcc-latest` to GCC 15 still breaks our CI:
Mbed-TLS/TF-PSA-Crypto#584

For `clang-latest`, use the latest non-beta version of Clang at this time.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
The system pip and setuptools are fine.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
@gilles-peskine-arm gilles-peskine-arm force-pushed the dev/gilles-peskine-arm/ubuntu-24.04-dockerfile branch from 372de9e to e49c3dd Compare December 2, 2025 10:16
@gilles-peskine-arm
Copy link
Contributor Author

This is ready for review. CI jobs are still running but I've already had a pass with the same code and a different history.

@ronald-cron-arm ronald-cron-arm moved this from In Development to In Review in Roadmap pull requests (new board) Dec 2, 2025
Copy link
Contributor

@ronald-cron-arm ronald-cron-arm left a comment

Choose a reason for hiding this comment

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

LGTM on code inspection, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Development

Successfully merging this pull request may close these issues.

3 participants