Skip to content

ci: bump Linux runners and Docker base image to ubuntu 24.04#7905

Merged
yhabib merged 3 commits into
mainfrom
ci/bump-ubuntu-24.04
Jun 10, 2026
Merged

ci: bump Linux runners and Docker base image to ubuntu 24.04#7905
yhabib merged 3 commits into
mainfrom
ci/bump-ubuntu-24.04

Conversation

@yhabib

@yhabib yhabib commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Motivation

The upcoming dfx 0.32.0 (used by the next snsdemo release — dfinity/snsdemo#594) is built against glibc 2.38/2.39, but ubuntu-22.04 only ships glibc 2.35, so any job that installs dfx 0.32.0 fails with version 'GLIBC_2.39' not found.

This PR moves the Linux toolchain to ubuntu-24.04 (glibc 2.39) as a prerequisite, so the dfx bump (#7903) can land cleanly. snsdemo did the same in dfinity/snsdemo#595.

This change is safe to merge on its own with the current dfx 0.31.0.

Changes

  • Bumped all runs-on: ubuntu-22.04 (and the os matrix in checks.yml) to ubuntu-24.04.
  • Bumped the reproducible-build Dockerfile base images from ubuntu:22.04 to ubuntu:24.04. node is still pinned via n from .volta.node, so the build toolchain is otherwise unchanged.
  • Left the snsdemo_snapshot_ubuntu-22.04.tar.xz artifact name in start_dfx_snapshot untouched — it tracks SNSDEMO_RELEASE, which still publishes the ubuntu-22.04 snapshot asset.

Tests

  • CI should pass.

Todos

  • Accessibility (a11y) – any impact?
  • Changelog – is it needed?

yhabib added 2 commits June 8, 2026 16:02
dfx 0.32.0 is built against glibc 2.38/2.39, but ubuntu-22.04 only ships
glibc 2.35, so linux jobs fail with `version GLIBC_2.39 not found`.
Mirrors dfinity/snsdemo#595.
The reproducible-build image installs dfx 0.32.0, which needs glibc
2.38/2.39; ubuntu:22.04 only ships glibc 2.35. node is still pinned via
`n` from .volta.node, so the build toolchain is unchanged otherwise.
@zeropath-ai

zeropath-ai Bot commented Jun 8, 2026

Copy link
Copy Markdown

No security or compliance issues detected. Reviewed everything up to ea54855.

Security Overview
Detected Code Changes
Change Type Relevant files
Configuration changes ► .github/workflows/build.yml
    Update runs-on to ubuntu-24.04
► .github/workflows/checks.yml
    Update runs-on to ubuntu-24.04
► .github/workflows/docker-main.yaml
    Update runs-on to ubuntu-24.04
► .github/workflows/nightly.yaml
    Update runs-on to ubuntu-24.04
► .github/workflows/reproducible.yaml
    Update runs-on to ubuntu-24.04
► .github/workflows/tag.yaml
    Update runs-on to ubuntu-24.04
► Dockerfile
    Update base image to ubuntu:24.04
Other ► frontend/src/tests/e2e/screenshots/neuron-details.spec.ts-desktop-Google-Chrome-linux.png
    Binary file differs
► frontend/src/tests/e2e/screenshots/neuron-details.spec.ts-mobile-Google-Chrome-linux.png
    Binary file differs
► frontend/src/tests/e2e/screenshots/neurons-table.spec.ts-desktop-Google-Chrome-linux.png
    Binary file differs
► frontend/src/tests/e2e/screenshots/neurons-table.spec.ts-mobile-Google-Chrome-linux.png
    Binary file differs

ubuntu-24.04 renders fonts slightly differently than 22.04, so the
neuron-details and neurons-table baselines needed updating.
@yhabib yhabib enabled auto-merge June 10, 2026 13:00
@yhabib yhabib added this pull request to the merge queue Jun 10, 2026
Merged via the queue into main with commit c422a4d Jun 10, 2026
34 checks passed
@yhabib yhabib deleted the ci/bump-ubuntu-24.04 branch June 10, 2026 13:21
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