Skip to content

Update mirror.gcr.io/library/ubuntu Docker tag to v26#14377

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

Update mirror.gcr.io/library/ubuntu Docker tag to v26#14377
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 3, 2026 03:38
@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 3, 2026
@product-auto-label product-auto-label Bot added the samples Issues that are directly related to samples. label Jul 3, 2026
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 3, 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 Docker image in .kokoro/docker/Dockerfile from Ubuntu 24.04 to Ubuntu 26.04. However, this upgrade will break the Docker build because Ubuntu 26.04 completely removes apt-key, which is still utilized by several commands in the Dockerfile. It is recommended to revert the base image to 24.04 until these legacy commands are refactored to use modern GPG keyrings.

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 (resolute) will break the Docker build because apt-key has been completely removed in Ubuntu 26.04 (it was deprecated since 20.10 and removed in APT 3.1/Ubuntu 26.04). There are multiple commands in this Dockerfile that still rely on apt-key add (lines 74, 102, and 253). These must be migrated to use modern GPG keyring files under /etc/apt/keyrings/ and referenced via the signed-by option in the repository configuration before upgrading the base image. It is recommended to keep the base image at 24.04 until these legacy commands are refactored.

FROM mirror.gcr.io/library/ubuntu:24.04

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