Skip to content

Upgrade to Ubuntu 26.04#14963

Draft
yeikel wants to merge 1 commit into
dependabot:mainfrom
yeikel:ubuntu-26.04
Draft

Upgrade to Ubuntu 26.04#14963
yeikel wants to merge 1 commit into
dependabot:mainfrom
yeikel:ubuntu-26.04

Conversation

@yeikel
Copy link
Copy Markdown
Contributor

@yeikel yeikel commented May 10, 2026

Upgrades from Ubuntu 24.04 (noble) to Ubuntu 26.04 (resolute)

What are you trying to accomplish?

Upgrades to Ubuntu 26.04 as that's the latest long term support version

Closes #14553
Closes #14966

Anything you want to highlight for special attention from reviewers?

Here are the decisions I made so far:

  • Dockerfile.updater-core

    • Removed the git-core PPA: Ubuntu 26.04 already includes git 2.53.0, which is sufficient for our use case. The PPA currently provides git 2.54.0, likely because it was released recently.
    • Removed git-lfs packagecloud.io PPA setup: Ubuntu 26.04 has native git-lfs 3.7.1-1 in universe repository which is the same
  • Composer Dockerfile (PHP)

    Blocked by https://codeberg.org/oerdnj/deb.sury.org/issues/91

    There may be workarounds but as there is no urgency, it seems best to just wait for https://codeberg.org/oerdnj/deb.sury.org/issues/91 as it seems a few weeks away

  • Bun Dockerfile

    • Upgraded Node.js from 20.x (EOL April 30, 2026) to 24.x (current LTS)

Node 20.x no longer works and it seems to be related to the EOL.

  • Swift Dockerfile

  • Future Work

    • Remove Swift Ubuntu 24.04 pin

How will you know you've accomplished your goal?

  • The build is upgraded
  • The existing tests pass

Checklist

  • I have run the complete test suite to ensure all tests and linters pass.
  • I have thoroughly tested my code changes to ensure they work as expected, including adding additional tests for new functionality.
  • I have written clear and descriptive commit messages.
  • I have provided a detailed description of the changes in the pull request, including the problem it addresses, how it fixes the problem, and any relevant details about the implementation.
  • I have ensured that the code is well-documented and easy to understand.

@github-actions github-actions Bot added L: php:composer Issues and code for Composer L: javascript L: swift Swift packages labels May 10, 2026
Comment thread bun/Dockerfile

# See https://github.com/nodesource/distributions#installation-instructions
ARG NODEJS_VERSION=20
ARG NODEJS_VERSION=24
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Definitely not a change that should be bundled. But before I send this upgrade, I'd like to find out if NodeJS is even needed for this ecosystem/document why

Comment thread composer/Dockerfile Outdated
Comment thread Dockerfile.updater-core
Comment on lines -64 to -82
# needed to run add-apt-repository
software-properties-common \
# Used to download the git-lfs GPG key as well as dev dependencies for CI
# Used for dev dependencies for CI
curl \
# Add git core ppa to get a more recent git version than the one provided by ubuntu
&& add-apt-repository -y ppa:git-core/ppa \
# Install the git-lfs mirror. See https://github.com/git-lfs/git-lfs/blob/main/INSTALLING.md
# We need this because the version of git-lfs provided by Ubuntu is outdated
# apt-transport-https is a temporary dependency to install the git-lfs apt source
&& apt-get install -y --no-install-recommends apt-transport-https \
&& mkdir -p /etc/apt/keyrings \
&& curl -fsSL 'https://packagecloud.io/github/git-lfs/gpgkey' | gpg --dearmor > /etc/apt/keyrings/github_git-lfs-archive-keyring.gpg \
&& release=$( . /etc/os-release && echo "$VERSION_CODENAME" ) \
&& echo "deb [signed-by=/etc/apt/keyrings/github_git-lfs-archive-keyring.gpg] https://packagecloud.io/github/git-lfs/ubuntu/ $release main" \
> /etc/apt/sources.list.d/github_git-lfs.list \
&& echo "deb-src [signed-by=/etc/apt/keyrings/github_git-lfs-archive-keyring.gpg] https://packagecloud.io/github/git-lfs/ubuntu/ $release main" \
>> /etc/apt/sources.list.d/github_git-lfs.list \
&& apt-get update \
&& apt-get install -y --no-install-recommends \
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

As noted the PR body, the difference (-1 version for git) is too small to consider leaving this workaround

Comment thread .devcontainer/devcontainer.json Outdated
@yeikel yeikel force-pushed the ubuntu-26.04 branch 5 times, most recently from c6a17bd to eea57a7 Compare May 10, 2026 05:55
@yeikel yeikel mentioned this pull request May 10, 2026
5 tasks
Comment thread bun/Dockerfile

# See https://github.com/nodesource/distributions#installation-instructions
ARG NODEJS_VERSION=20
ARG NODEJS_VERSION=24
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@yeikel yeikel mentioned this pull request May 11, 2026
5 tasks
@yeikel yeikel force-pushed the ubuntu-26.04 branch 3 times, most recently from 583f5cd to 39131f4 Compare May 15, 2026 03:43
@yeikel yeikel force-pushed the ubuntu-26.04 branch 3 times, most recently from f58f7ae to 984d8e5 Compare May 25, 2026 22:12
Upgrades from Ubuntu 24.04 (noble) to Ubuntu 26.04 (resolute)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

L: javascript L: php:composer Issues and code for Composer L: swift Swift packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate from Ubuntu 24.04 to 26.04

1 participant