This is an automated email from the ASF dual-hosted git repository.
ruifengz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new 5d207b2c5c27 [SPARK-55960][INFRA][CONNECT][PYTHON][FOLLOW-UP] Fix
build on linux
5d207b2c5c27 is described below
commit 5d207b2c5c27e04b2c8319408e79da37847384ca
Author: Ruifeng Zheng <[email protected]>
AuthorDate: Wed Mar 11 18:06:23 2026 +0800
[SPARK-55960][INFRA][CONNECT][PYTHON][FOLLOW-UP] Fix build on linux
### What changes were proposed in this pull request?
follow up on https://github.com/apache/spark/pull/54755
### Why are the changes needed?
on linux, the docker build fails with
```
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in INC (you may need to install the
Term::ReadLine module) (INC entries checked: /etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.38.2 /usr/local/share/perl/5.38.2
/usr/lib/x86_64-linux-gnu/perl5/5.38 /usr/share/perl5
/usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.38
/usr/share/perl/5.38 /usr/local/lib/site_perl) at
/usr/share/perl5/Debconf/FrontEnd/Readline.pm line 8.)
debconf: falling back to frontend: Teletype
Updating certificates in /etc/ssl/certs...
out of memory
out of memory
out of memory
out of memory
out of memory
out of memory
out of memory
out of memory
out of memory
out of memory
out of memory
```
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
manually check
### Was this patch authored or co-authored using generative AI tooling?
No
Closes #54756 from zhengruifeng/infra_buf_docker_fp.
Authored-by: Ruifeng Zheng <[email protected]>
Signed-off-by: Ruifeng Zheng <[email protected]>
---
dev/spark-test-image/connect-gen-protos/Dockerfile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dev/spark-test-image/connect-gen-protos/Dockerfile
b/dev/spark-test-image/connect-gen-protos/Dockerfile
index 9f29c178aff1..0e784e532af0 100644
--- a/dev/spark-test-image/connect-gen-protos/Dockerfile
+++ b/dev/spark-test-image/connect-gen-protos/Dockerfile
@@ -31,6 +31,10 @@ LABEL org.opencontainers.image.version=""
ENV FULL_REFRESH_DATE=20260311
+ENV DEBIAN_FRONTEND=noninteractive
+ENV DEBCONF_NONINTERACTIVE_SEEN=true
+ENV OPENSSL_FORCE_FIPS_MODE=0
+
RUN apt-get update && apt-get install -y \
ca-certificates \
curl \
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]