This is an automated email from the ASF dual-hosted git repository.
xqhu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new e80ffd474d9 Upgrade base image for dev-support docker image(Ubuntu
20.04 -> Ubuntu 24.04) (#35694)
e80ffd474d9 is described below
commit e80ffd474d98dc93b6de7272aa528f2eaa4cb669
Author: Shingo Furuyama <[email protected]>
AuthorDate: Sat Jul 26 02:28:40 2025 +0000
Upgrade base image for dev-support docker image(Ubuntu 20.04 -> Ubuntu
24.04) (#35694)
* upgrade base image for dev-support docker image
* upgrade distlib and yapf
---
dev-support/docker/Dockerfile | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/dev-support/docker/Dockerfile b/dev-support/docker/Dockerfile
index 0803db8887e..143c3c6decf 100644
--- a/dev-support/docker/Dockerfile
+++ b/dev-support/docker/Dockerfile
@@ -18,7 +18,7 @@
# Dockerfile for installing the necessary dependencies for building Hadoop.
# See BUILDING.txt.
-FROM ubuntu:20.04
+FROM ubuntu:24.04
ARG DEBIAN_FRONTEND=noninteractive
@@ -62,12 +62,13 @@ ENV LC_ALL en_US.UTF-8
###
# Install grpcio-tools mypy-protobuf for `python3 sdks/python/setup.py sdist`
to work
###
-RUN pip3 install grpcio-tools mypy-protobuf
+RUN pip3 install --break-system-packages grpcio-tools mypy-protobuf
###
# Install useful tools
# Install distlib to avoid https://github.com/pypa/virtualenv/issues/2006
-RUN pip3 install distlib==0.3.1 yapf==0.29.0 pytest
+# Specify the version of pluggy to fix it to the version installed on the
system.
+RUN pip3 install --break-system-packages distlib==0.3.9 yapf==0.43.0 pytest
pluggy==1.4.0
###
###