Skip to content

chore: upgrade to ubuntu 26.04 - #24267

Merged
aslilac merged 22 commits into
mainfrom
lilac/upgrade-dogfood-ubuntu-26.04
Apr 15, 2026
Merged

aslilac merged 22 commits into
mainfrom
lilac/upgrade-dogfood-ubuntu-26.04

Conversation

@aslilac

@aslilac aslilac commented Apr 10, 2026 •

Copy link
Copy Markdown
Member

Adds a Dogfood image option based on Ubuntu 26.04 to the Coder on Coder template.

  • Make it the default
  • Keep the Ubuntu 22.04 image around for a little while so that people can easily roll back if we encounter any issues
  • Once 26.04 officially releases in a few weeks we can remove the 22.04 option/image/files, so long as we don't encounter any blocking issues.

...and includes a small update to the build_image CI step to allow building all of the images in parallel, rather than sequentially.

Original description from Coder Agents with some more details on the specifics

Changes

Base image

  • ubuntu:jammy → ubuntu:resolute (both go build stage and final stage)

APT sources

  • Ubuntu 26.04 uses DEB822 format (ubuntu.sources instead of sources.list) — mirror sed command updated accordingly
  • Docker CE: jammy → resolute (Docker CE 29.x now available for resolute)
  • PostgreSQL PGDG: jammy-pgdg → resolute-pgdg
  • HashiCorp: jammy → noble (no resolute repo available yet; noble packages are compatible)

Package changes

  • exa → eza (exa is abandoned; eza is the maintained fork)
  • helix → hx (package renamed in Ubuntu 26.04 repos)
  • postgresql-16 → postgresql-18 (Ubuntu 26.04 ships pg18 natively)
  • PostgreSQL binary paths updated from /usr/lib/postgresql/16/ to /usr/lib/postgresql/18/

PPAs removed

Ubuntu 26.04 default repos now ship current versions of packages that previously required PPAs:

  • ansible 13.1.0, fish 4.2.1, git 2.53.0, helix (hx), neovim 0.11.6

Removed: ppa.list entries, associated GPG keyring files, and update-keys.sh entries.

Other

  • Docker CE version pin updated from 5:27.* to 5:29.*
  • unminimize installed as a package (no longer pre-installed in Ubuntu ≥24.10 minimal images)
Decision log
  • HashiCorp uses noble instead of resolute: HashiCorp's apt repo does not yet publish resolute packages. Tested and confirmed that noble packages install correctly on resolute. This can be updated once HashiCorp adds resolute support.
  • PPAs removed entirely: Verified that all 5 PPA-sourced packages (ansible, fish, git, helix, neovim) are available in Ubuntu 26.04's default Universe repository with sufficiently current versions. No PPAs needed.
  • Docker CE resolute confirmed: Docker's official apt repository has full resolute support with docker-ce 5:29.4.0 and containerd.io 2.2.2.
  • PostgreSQL 18 from PGDG: While Ubuntu 26.04 ships postgresql-18 natively, the PGDG repo is kept for consistency and to allow installing other PostgreSQL versions if needed.

🤖 Generated by Coder Agents

Upgrade the dogfood Coder Docker image from Ubuntu 22.04 (Jammy) to
Ubuntu 26.04 LTS (Resolute Raccoon).

Key changes:
- Base image: ubuntu:jammy -> ubuntu:resolute
- APT sources: adapt to DEB822 format (ubuntu.sources instead of
  sources.list)
- Package renames: exa -> eza, helix -> hx, postgresql-16 -> postgresql-18
- Docker CE: pin updated from 5:27.* to 5:29.* (resolute packages)
- PPAs removed: ansible, fish, git, helix, neovim are now available in
  Ubuntu 26.04 default repos with current versions
- HashiCorp apt repo: uses noble (no resolute repo yet; compatible)
- PostgreSQL PGDG: updated to resolute-pgdg
- unminimize: now installed as a package (no longer pre-installed in
  Ubuntu 26.04 minimal images)
- Removed unused PPA keyring files and update-keys.sh entries
aslilac added 2 commits April 10, 2026 21:10
Ubuntu 26.04 ships a pre-created 'ubuntu' user at UID 1000.
Remove it first so useradd can create 'coder' with that UID.
@aslilac aslilac changed the title dogfood: upgrade docker image to Ubuntu 26.04 (Resolute) dogfood: upgrade to ubuntu 26.04 Apr 10, 2026
@aslilac aslilac changed the title dogfood: upgrade to ubuntu 26.04 chore(dogfood): upgrade to ubuntu 26.04 Apr 10, 2026

@johnstcn johnstcn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'm in favour in general of updating from jammy, but I'd rather us jump to noble rather than resolute (which AFAICT isn't even released yet?)

FWIW, noble also ships with the newer glibc version

@aslilac

aslilac commented Apr 11, 2026

Copy link
Copy Markdown
Member Author

it isn't fully released yet, but it is april 2026. 26.04 seems to be on track, the rc cut is in a few days, and the stable release is in like a week and a half.

to me, it feels worth the tiny bit of corner cutting in order to not need to do another upgrade later. if we really want, we could even just wait to merge this until after the rc or stable cut. I don't think it's a huge rush. I would definitely prefer to merge it asap but I can be patient if others think it is worth waiting.

https://documentation.ubuntu.com/release-notes/26.04/schedule/#resolute-raccoon-schedule

@johnstcn johnstcn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'd suggest we

  1. publish it as an entirely new image
  2. make it the 'new default'
  3. allow folks to use the older image as a fallback in case they encounter issues

@aslilac aslilac changed the title chore(dogfood): upgrade to ubuntu 26.04 chore: upgrade to ubuntu 26.04 Apr 13, 2026
@aslilac
aslilac requested a review from johnstcn April 13, 2026 23:12

@johnstcn johnstcn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Changes look good to me. Interested to try out the new image!

@aslilac
aslilac merged commit d23a695 into main Apr 15, 2026
33 checks passed
@aslilac
aslilac deleted the lilac/upgrade-dogfood-ubuntu-26.04 branch April 15, 2026 21:02
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants