Update mirror.gcr.io/library/ubuntu Docker tag to v26#14394
Update mirror.gcr.io/library/ubuntu Docker tag to v26#14394renovate-bot wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Code Review
This pull request attempts to upgrade the base Docker image from Ubuntu 24.04 to Ubuntu 26.04. However, this change will break the Docker build due to several critical incompatibilities, such as the removal of the deprecated apt-key utility, dependency issues with the Microsoft ODBC repository, and Python compilation failures. It is recommended to revert this change and remain on Ubuntu 24.04.
| # We want to use LTS ubuntu from our mirror because dockerhub has a | ||
| # rate limit. | ||
| FROM mirror.gcr.io/library/ubuntu:24.04 | ||
| FROM mirror.gcr.io/library/ubuntu:26.04 |
There was a problem hiding this comment.
Upgrading the base image to Ubuntu 26.04 (resolute) will completely break the Docker build due to several critical incompatibilities:
- Removal of
apt-key: Ubuntu 26.04 (which ships with APT 3.1) has completely removed the deprecatedapt-keyutility. The Dockerfile contains multiple legacy commands usingapt-key add(e.g., lines 74, 102, and 252). These will fail immediately withapt-key: command not found(exit code 127). These must be migrated to modern GPG keyrings (e.g., downloading keys to/etc/apt/keyrings/and using thesigned-byoption in the sources list). - Incompatible Microsoft ODBC Repository: Line 103 pulls the package list for Ubuntu 20.04 (
https://packages.microsoft.com/config/ubuntu/20.04/prod.list). Installingmsodbcsql17from the 20.04 repository on Ubuntu 26.04 will fail due to missing legacy dependencies (such aslibssl1.1). - Python Compilation Failures: Compiling older Python versions (specifically 3.7, 3.8, and 3.9) from source on Ubuntu 26.04 will fail because OpenSSL 1.1.1 is no longer available (replaced entirely by OpenSSL 3.x) and newer compiler toolchains (GCC 15+) enforce stricter standards.
- Rust Coreutils: Ubuntu 26.04 defaults to Rust-based
uutils coreutilsinstead of GNU Coreutils, which can introduce subtle behavioral differences in existing shell scripts.
It is recommended to revert this change and keep the base image on Ubuntu 24.04 LTS until the Dockerfile is thoroughly refactored to support Ubuntu 26.04.
FROM mirror.gcr.io/library/ubuntu:24.04
This PR contains the following updates:
24.04→26.04Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Never, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.