Skip to content

Commit dec114a

Browse files
zhengruifengHyukjinKwon
authored andcommitted
[SPARK-55181][PYTHON][INFRA] Remove unused packages from python 3.10 test images
### What changes were proposed in this pull request? Remove unused packages from python 3.10 test images ### Why are the changes needed? for more disk ### Does this PR introduce _any_ user-facing change? NO, infra-only ### How was this patch tested? PR builder with ``` default: '{"PYSPARK_IMAGE_TO_TEST": "python-310", "PYTHON_TO_TEST": "python3.10"}' ``` https://github.com/zhengruifeng/spark/runs/61429591520 ### Was this patch authored or co-authored using generative AI tooling? no Closes #53961 from zhengruifeng/image_clean_up_310. Authored-by: Ruifeng Zheng <ruifengz@apache.org> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
1 parent 9538f4f commit dec114a

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

dev/spark-test-image/python-310/Dockerfile

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ LABEL org.opencontainers.image.ref.name="Apache Spark Infra Image For PySpark wi
2424
# Overwrite this label to avoid exposing the underlying Ubuntu OS version label
2525
LABEL org.opencontainers.image.version=""
2626

27-
ENV FULL_REFRESH_DATE=20251224
27+
ENV FULL_REFRESH_DATE=20260124
2828

2929
ENV DEBIAN_FRONTEND=noninteractive
3030
ENV DEBCONF_NONINTERACTIVE_SEEN=true
@@ -36,17 +36,9 @@ RUN apt-get update && apt-get install -y \
3636
gfortran \
3737
git \
3838
gnupg \
39-
libcurl4-openssl-dev \
40-
libfontconfig1-dev \
41-
libfreetype6-dev \
42-
libfribidi-dev \
4339
libgit2-dev \
44-
libharfbuzz-dev \
45-
libjpeg-dev \
4640
liblapack-dev \
4741
libopenblas-dev \
48-
libpng-dev \
49-
libpython3-dev \
5042
libssl-dev \
5143
libtiff5-dev \
5244
libwebp-dev \

0 commit comments

Comments
 (0)