Skip to content

[DNM] chore: migrate images to Ubuntu 26.04 (resolute)#336

Draft
matifali wants to merge 3 commits into
mainfrom
chore/migrate-ubuntu-resolute
Draft

[DNM] chore: migrate images to Ubuntu 26.04 (resolute)#336
matifali wants to merge 3 commits into
mainfrom
chore/migrate-ubuntu-resolute

Conversation

@matifali

@matifali matifali commented Jul 22, 2026

Copy link
Copy Markdown
Member

Summary

Migrate the images to the newly released Ubuntu 26.04 LTS (resolute). UBUNTU_VERSION in scripts/images.sh is the single source of truth, so the Ubuntu-native images and everything that inherits from them roll forward from one change.

Changes

  • scripts/images.sh: UBUNTU_VERSION nobleresolute; added UBUNTU_VERSION_OVERRIDES + ubuntu_version_for helper to pin individual images to a different release.
  • images/base/ubuntu.Dockerfile: ARG UBUNTU_VERSION default → resolute
  • images/minimal/ubuntu.Dockerfile: ARG UBUNTU_VERSION default → resolute
  • images/base/docker.list: Docker apt suite nobleresolute
  • README.md: tag examples ubuntu-nobleubuntu-resolute
  • images/universal/ubuntu.Dockerfile: pinned to noble via the override (see note)
  • scripts/build_images.sh / scripts/push_images.sh: resolve the Ubuntu release per image via ubuntu_version_for, so both the build arg and the version-specific tags reflect the release each image is actually built from.

golang, java, node, and desktop need no file changes; they inherit from base/minimal and roll forward automatically.

Validation

Verified upstream availability of the required resolute bases:

Dependency resolute available?
ubuntu:resolute / ubuntu:26.04
download.docker.com/linux/ubuntu resolute stable
mcr.microsoft.com/devcontainers/universal:resolute ❌ (latest codename tag is noble)

Verified per-image tag resolution:

base       -> ubuntu-resolute
minimal    -> ubuntu-resolute
golang     -> ubuntu-resolute
java       -> ubuntu-resolute
node       -> ubuntu-resolute
desktop    -> ubuntu-resolute
universal  -> ubuntu-noble

Note

The universal image is built from mcr.microsoft.com/devcontainers/universal, which does not yet publish a resolute tag. It's pinned to noble via UBUNTU_VERSION_OVERRIDES, which also ensures it is published as ubuntu-noble (not mislabeled as ubuntu-resolute). Tracked in #335 to re-couple once upstream publishes a resolute tag.

Caution

Not built locally. CI / a Depot build is the validation gate before merge.

🤖 This PR was created with the help of Coder Agents, and needs a human review. 🧑💻

@matifali
matifali requested a review from johnstcn July 22, 2026 17:36

@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.

This change is worth calling out, as users of the rolling tag will need to be aware of the change. How do we plan to communicate this?

@matifali

matifali commented Jul 23, 2026

Copy link
Copy Markdown
Member Author

This change is worth calling out, as users of the rolling tag will need to be aware of the change. How do we plan to communicate this?

Good call @johnstcn. I will hold this change until release 2.36, and we will announce it on Coder.com/chnagelog along with that release. Any customers using this should not be using the latest tag in production, but just in case it's worth calling out.

@matifali matifali changed the title chore: migrate images to Ubuntu 26.04 (resolute) [DNM] chore: migrate images to Ubuntu 26.04 (resolute) Jul 23, 2026
@matifali
matifali requested a review from johnstcn July 23, 2026 14:02
@matifali
matifali marked this pull request as draft July 23, 2026 14:02

@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.

Approving to unblock. As per Atif's comment above, do not merge until release.

@linear-code
linear-code Bot marked this pull request as ready for review July 23, 2026 14:03
@matifali
matifali marked this pull request as draft July 23, 2026 14:47
@linear-code

linear-code Bot commented Jul 23, 2026

Copy link
Copy Markdown

DEVEX-653

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