Skip to content

Update mirror.gcr.io/library/ubuntu Docker tag to v26 - autoclosed#14388

Closed
renovate-bot wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
renovate-bot:renovate/mirror.gcr.io-library-ubuntu-26.x
Closed

Update mirror.gcr.io/library/ubuntu Docker tag to v26 - autoclosed#14388
renovate-bot wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
renovate-bot:renovate/mirror.gcr.io-library-ubuntu-26.x

Conversation

@renovate-bot

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
mirror.gcr.io/library/ubuntu final major 24.0426.04

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

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


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate-bot renovate-bot requested review from a team as code owners July 7, 2026 00:58
@trusted-contributions-gcf trusted-contributions-gcf Bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels Jul 7, 2026
@product-auto-label product-auto-label Bot added the samples Issues that are directly related to samples. label Jul 7, 2026
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 7, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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.

Comment thread .kokoro/docker/Dockerfile
# 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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

critical

Upgrading the base image to Ubuntu 26.04 will break the Docker build due to several critical compatibility issues:

  1. Removal of apt-key: In Ubuntu 26.04, the legacy apt-key utility has been completely removed. The Dockerfile currently uses apt-key add in multiple places (lines 74, 102, and 253) to add GPG keys for Docker, Microsoft SQL Server, and Google Chrome. These steps will fail with apt-key: command not found.
  2. 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

@renovate-bot renovate-bot changed the title Update mirror.gcr.io/library/ubuntu Docker tag to v26 Update mirror.gcr.io/library/ubuntu Docker tag to v26 - autoclosed Jul 7, 2026
@renovate-bot renovate-bot deleted the renovate/mirror.gcr.io-library-ubuntu-26.x branch July 7, 2026 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

owlbot:run Add this label to trigger the Owlbot post processor. samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants