Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2a1345e

Browse files
committedJul 24, 2024··
build(docker): centos7 EOL
1 parent 4138c1b commit 2a1345e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

‎docker/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ LABEL org.opencontainers.image.source https://github.com/4paradigm/OpenMLDB
2323

2424
COPY setup_deps.sh /
2525
# hadolint ignore=DL3031,DL3033
26-
RUN yum update -y && yum install -y centos-release-scl epel-release && \
26+
RUN sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo && \
27+
sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo && \
28+
sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo && \
29+
yum update -y && yum install -y centos-release-scl epel-release && \
2730
yum install -y devtoolset-8 rh-git227 devtoolset-8-libasan-devel flex doxygen java-1.8.0-openjdk-devel rh-python38-python-devel rh-python38-python-wheel rh-python38-python-requests rh-python38-python-pip && \
2831
curl -Lo lcov-1.15-1.noarch.rpm https://github.com/linux-test-project/lcov/releases/download/v1.15/lcov-1.15-1.noarch.rpm && \
2932
yum localinstall -y lcov-1.15-1.noarch.rpm && \

0 commit comments

Comments
 (0)
Please sign in to comment.