Skip to content

feat: upgrade base image to Ubuntu 26.04 LTS - #48

Merged
allamiro merged 1 commit into
mainfrom
feat/ubuntu-2604-base
Aug 10, 2026
Merged

feat: upgrade base image to Ubuntu 26.04 LTS#48
allamiro merged 1 commit into
mainfrom
feat/ubuntu-2604-base

Conversation

@allamiro

@allamiro allamiro commented Aug 10, 2026

Copy link
Copy Markdown
Owner

Closes #34

What

FROM ubuntu:24.04FROM ubuntu:26.04 plus the matching comment/README updates.

Pre-verified (per the issue's checklist)

  • userdel ubuntu — 26.04 still ships the ubuntu user at uid 1000, so the existing removal step is unchanged and required.
  • Python — 3.14; PEP 668 still marks the system env externally managed, so --break-system-packages stays.
  • apt ansible availability — no longer relevant: since feat: slim image with pip ansible-core and native arm64 builds #44 the image installs ansible-core from pip, which sidesteps the distro packaging question entirely.
  • Packagesopenssh-server (10.2), vim-tiny, python3-pip all present in 26.04.
  • The Mitogen strategy symlink is computed at build time from the installed package location (no interpreter-version path), and the build fails fast if the layout changed.

CVE expectation

24.04's base layers carried the bulk of the remaining MEDIUM/LOW findings; the scheduled Trivy scan after this publishes should show the drop. CI on this PR builds both platforms and smoke-tests sshd + ansible on the new base.


Summary by cubic

Upgraded the Docker base image to Ubuntu 26.04 LTS to reduce CVEs and extend support through 2031. Updated README and comments; build and runtime behavior remain the same.

  • Dependencies
    • Base image: ubuntu:24.04ubuntu:26.04
    • Keep userdel ubuntu and pip --break-system-packages (Python 3.14 / PEP 668)
    • openssh-server, vim-tiny, and python3-pip remain available

Written for commit 5905733. Summary will update on new commits.

Review in cubic

Ships newer, less-CVE-laden package versions and extends standard
security support to 2031 (24.04 ends April 2029). Verified before the
bump: the ubuntu uid-1000 user still exists (userdel path unchanged),
Python is 3.14 (PEP 668 --break-system-packages still applies), and
openssh-server/vim-tiny are available. Closes #34.
@allamiro allamiro added the enhancement New feature or request label Aug 10, 2026

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No issues found across 2 files

Re-trigger cubic

@allamiro
allamiro merged commit e150ce3 into main Aug 10, 2026
6 checks passed
@allamiro
allamiro deleted the feat/ubuntu-2604-base branch August 10, 2026 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: upgrade base image to ubuntu:26.04 LTS

1 participant