Skip to content

chore(deps): update mirror.gcr.io/library/ubuntu docker tag to v26#14235

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

chore(deps): update mirror.gcr.io/library/ubuntu docker tag to v26#14235
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 May 27, 2026 07:43
@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 May 27, 2026
@product-auto-label product-auto-label Bot added the samples Issues that are directly related to samples. label May 27, 2026
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 27, 2026
Copy link
Copy Markdown
Contributor

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

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, this upgrade is premature as Ubuntu 26.04 is not yet a stable LTS release and will break the Docker build due to compatibility issues with compiling older Python versions, hardcoded repository paths, and deprecated tools like apt-key. It is recommended to revert this change and remain on 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 to ubuntu:26.04 is premature and will break the Docker build. Ubuntu 26.04 is not yet a stable LTS release. Additionally, upgrading the base image to this version introduces several compatibility issues:

  1. Python Compilation Failures: Older Python versions (such as 3.7, 3.8, and 3.9) specified in PYTHON_VERSIONS cannot be compiled on newer Ubuntu releases because they require OpenSSL 1.1.1, which is not available, and they are incompatible with newer glibc/gcc versions.
  2. Hardcoded Repository Paths: The Microsoft ODBC driver installation (line 103) explicitly uses the Ubuntu 20.04 repository (ubuntu/20.04/prod.list), which is incompatible with Ubuntu 26.04.
  3. Deprecated Tools: The use of apt-key (lines 74, 102, 253) is deprecated and may fail entirely on newer Ubuntu releases.

It is recommended to close this PR and remain on the stable ubuntu:24.04 LTS release.

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