Update mirror.gcr.io/library/ubuntu Docker tag to v26 - autoclosed#14388
Update mirror.gcr.io/library/ubuntu Docker tag to v26 - autoclosed#14388renovate-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, feedback indicates that this upgrade will break the Docker build due to the removal of the legacy apt-key utility and compilation failures of older Python versions with the newer OpenSSL and GCC versions present in Ubuntu 26.04. It is recommended to revert this change.
| # 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 will break the Docker build due to several critical compatibility issues:
- Removal of
apt-key: In Ubuntu 26.04, the legacyapt-keyutility has been completely removed. The Dockerfile currently usesapt-key addin multiple places (lines 74, 102, and 253) to add GPG keys for Docker, Microsoft SQL Server, and Google Chrome. These steps will fail withapt-key: command not found. - Compilation of Older Python Versions: Building older Python versions (such as 3.7, 3.8, and 3.9) from source on Ubuntu 26.04 will fail because these older Python versions do not support the newer OpenSSL 3.x/3.5+ libraries and modern GCC versions included in Ubuntu 26.04 without extensive patching.
It is recommended to revert this upgrade and keep the base image at ubuntu:24.04 until the Dockerfile's repository key management is modernized (using /etc/apt/keyrings and signed-by) and the compatibility of building legacy Python versions is addressed.
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.