Skip to content

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

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#14474
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 (source) 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 August 3, 2026 19: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 Aug 3, 2026
@product-auto-label product-auto-label Bot added the samples Issues that are directly related to samples. label Aug 3, 2026
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 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 attempts to upgrade the base Docker image from Ubuntu 24.04 to Ubuntu 26.04. However, feedback indicates that this upgrade is premature and will break the build because third-party repositories (such as Docker's) do not yet support the Ubuntu 26.04 codename, leading to 404 errors during package updates. It is recommended to revert back to Ubuntu 24.04.

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.

high

Upgrading the base image to Ubuntu 26.04 is premature and will break the Dockerfile build.

Specifically, the Docker repository setup on lines 76-79 uses $(lsb_release -cs) to fetch the Ubuntu codename:

RUN add-apt-repository \
  "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
  $(lsb_release -cs) \
  stable"

Since Ubuntu 26.04 is not yet fully released or supported by third-party package repositories like Docker, the repository URL for this codename will return a 404 error during apt-get update on line 81.

Please keep the base image at ubuntu:24.04 until 26.04 is officially released and supported by all external dependencies configured in this Dockerfile.

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