Skip to content

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

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#14401
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 9, 2026 07:55
@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 9, 2026
@product-auto-label product-auto-label Bot added the samples Issues that are directly related to samples. label Jul 9, 2026
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 9, 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 updates the base image in the Dockerfile from Ubuntu 24.04 to Ubuntu 26.04. However, this upgrade breaks the Docker build because Ubuntu 26.04 completely removes apt-key, which is still used in several commands within the Dockerfile. These commands must be migrated to use /etc/apt/keyrings/ before upgrading the base image.

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 to Ubuntu 26.04 breaks the Docker build because apt-key has been completely removed in Ubuntu 26.04. Several commands in this Dockerfile still rely on apt-key add (such as lines 74, 102, and 253). Before upgrading the base image to 26.04, these steps must be migrated to use the modern approach of downloading keys to /etc/apt/keyrings/ and referencing them via the signed-by option in the repository sources files.

@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 9, 2026
@renovate-bot renovate-bot deleted the renovate/mirror.gcr.io-library-ubuntu-26.x branch July 9, 2026 19:15
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