Skip to content

Commit e80ffd4

Browse files
authored
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
1 parent ecfbc24 commit e80ffd4

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

dev-support/docker/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# Dockerfile for installing the necessary dependencies for building Hadoop.
1919
# See BUILDING.txt.
2020

21-
FROM ubuntu:20.04
21+
FROM ubuntu:24.04
2222

2323
ARG DEBIAN_FRONTEND=noninteractive
2424

@@ -62,12 +62,13 @@ ENV LC_ALL en_US.UTF-8
6262
###
6363
# Install grpcio-tools mypy-protobuf for `python3 sdks/python/setup.py sdist` to work
6464
###
65-
RUN pip3 install grpcio-tools mypy-protobuf
65+
RUN pip3 install --break-system-packages grpcio-tools mypy-protobuf
6666

6767
###
6868
# Install useful tools
6969
# Install distlib to avoid https://github.com/pypa/virtualenv/issues/2006
70-
RUN pip3 install distlib==0.3.1 yapf==0.29.0 pytest
70+
# Specify the version of pluggy to fix it to the version installed on the system.
71+
RUN pip3 install --break-system-packages distlib==0.3.9 yapf==0.43.0 pytest pluggy==1.4.0
7172
###
7273

7374
###

0 commit comments

Comments
 (0)