Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .kokoro/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

# 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


ENV DEBIAN_FRONTEND noninteractive

Expand Down