This is an automated email from the ASF dual-hosted git repository.
marin-ma pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gluten.git
The following commit(s) were added to refs/heads/main by this push:
new 473a5d2bee [VL] Fix centos7 image build (#12322)
473a5d2bee is described below
commit 473a5d2bee342c0cfbd62fcb3fff0ab958894c1a
Author: Yuan <[email protected]>
AuthorDate: Fri Jun 19 16:02:38 2026 +0300
[VL] Fix centos7 image build (#12322)
Signed-off-by: Yuan <[email protected]>
---
dev/docker/Dockerfile.centos7-gcc13-static-build | 4 +++-
dev/docker/Dockerfile.centos8-gcc13-static-build | 2 +-
dev/docker/Dockerfile.centos8-static-build | 1 +
dev/docker/Dockerfile.centos9-static-build | 3 ++-
4 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/dev/docker/Dockerfile.centos7-gcc13-static-build
b/dev/docker/Dockerfile.centos7-gcc13-static-build
index 1bd887995f..c9e6ede10e 100644
--- a/dev/docker/Dockerfile.centos7-gcc13-static-build
+++ b/dev/docker/Dockerfile.centos7-gcc13-static-build
@@ -37,7 +37,9 @@ RUN set -ex; \
yum install -y git patch sudo java-1.8.0-openjdk-devel ccache; \
git clone --depth=1 https://github.com/apache/gluten /opt/gluten; \
echo "check_certificate = off" >> ~/.wgetrc; \
- cd /opt/gluten && bash ./dev/vcpkg/setup-build-depends.sh; \
+ cd /opt/gluten; \
+ cp ep/build-velox/src/socket.h /usr/include/asm-generic/socket.h; \
+ bash ./dev/vcpkg/setup-build-depends.sh; \
yum remove gcc -y && yum clean all; \
yes | cp -rf /usr/share/aclocal/* /usr/local/share/aclocal/; \
mkdir -p ${VCPKG_PATH}; \
diff --git a/dev/docker/Dockerfile.centos8-gcc13-static-build
b/dev/docker/Dockerfile.centos8-gcc13-static-build
index e4abfef2be..a2e5bdf040 100644
--- a/dev/docker/Dockerfile.centos8-gcc13-static-build
+++ b/dev/docker/Dockerfile.centos8-gcc13-static-build
@@ -30,7 +30,7 @@ RUN set -ex; \
yum install -y java-1.8.0-openjdk-devel patch git perl python3 automake
libtool flex; \
dnf -y --enablerepo=powertools install autoconf-archive ninja-build; \
pip3 install --upgrade pip; \
- pip3 install cmake; \
+ pip3 install cmake==3.31.4; \
rpm -qa | grep tzdata; \
dnf clean all; \
git clone --depth=1 https://github.com/apache/gluten /opt/gluten; \
diff --git a/dev/docker/Dockerfile.centos8-static-build
b/dev/docker/Dockerfile.centos8-static-build
index 91448e346e..d6e2d5ec1c 100644
--- a/dev/docker/Dockerfile.centos8-static-build
+++ b/dev/docker/Dockerfile.centos8-static-build
@@ -29,6 +29,7 @@ RUN set -ex; \
sed -i -e
"s|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g"
/etc/yum.repos.d/CentOS-* || true; \
yum update -y && yum install -y epel-release sudo dnf && yum install -y
ccache; \
dnf install -y --setopt=install_weak_deps=False gcc-toolset-11; \
+ pip install cmake==3.31.4; \
echo "check_certificate = off" >> ~/.wgetrc; \
yum install -y java-1.8.0-openjdk-devel patch git perl; \
rpm -qa | grep tzdata; \
diff --git a/dev/docker/Dockerfile.centos9-static-build
b/dev/docker/Dockerfile.centos9-static-build
index b3aeb1f163..1fbda664f2 100644
--- a/dev/docker/Dockerfile.centos9-static-build
+++ b/dev/docker/Dockerfile.centos9-static-build
@@ -26,7 +26,8 @@ ENV VCPKG_BINARY_SOURCES=clear;files,${VCPKG_PATH},readwrite
RUN set -ex; \
yum update -y && yum install -y epel-release sudo dnf && yum install -y
ccache; \
- dnf install -y --setopt=install_weak_deps=False gcc-toolset-12
gcc-toolset-13; \
+ dnf install -y --setopt=install_weak_deps=False gcc-toolset-12
gcc-toolset-13 perl-FindBin; \
+ pip install cmake==3.31.4; \
echo "check_certificate = off" >> ~/.wgetrc; \
yum install -y java-17-openjdk-devel patch git perl; \
dnf clean all; \
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]