Skip to content

Commit 0b6bb4a

Browse files
committed
fx
1 parent 9c116a2 commit 0b6bb4a

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

dev/centos7/Dockerfile

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,10 @@ RUN sed -i "s/^#.*baseurl=http/baseurl=https/g" /etc/yum.repos.d/*.repo
1212
RUN sed -i "s/^mirrorlist/#mirrorlist/g" /etc/yum.repos.d/*.repo
1313
RUN yum install -y libzip unzip wget cmake3 openssl-devel llvm clang-devel clang-libs clang libclang-devel
1414

15-
# install gcc-11
16-
RUN yum install -y devtoolset-11-gcc devtoolset-11-gcc-c++
17-
RUN echo '. /opt/rh/devtoolset-11/enable' >> ~/.bashrc
18-
1915
# install gcc-8
2016
RUN yum install -y devtoolset-8-gcc devtoolset-8-gcc-c++
2117
RUN echo '. /opt/rh/devtoolset-8/enable' >> ~/.bashrc
2218

23-
# install gcc-11
24-
RUN yum install -y devtoolset-11-gcc devtoolset-11-gcc-c++
25-
RUN echo '. /opt/rh/devtoolset-11/enable' >> ~/.bashrc
26-
2719
# install rust nightly toolchain
2820
RUN curl https://sh.rustup.rs > /rustup-init
2921
RUN chmod +x /rustup-init
@@ -34,8 +26,8 @@ RUN yum install -y java-1.8.0-openjdk java-1.8.0-openjdk-devel
3426
RUN echo 'export JAVA_HOME="/usr/lib/jvm/java-1.8.0-openjdk"' >> ~/.bashrc
3527

3628
# install maven
37-
RUN yum install -y rh-maven35
38-
RUN echo 'source /opt/rh/rh-maven35/enable' >> ~/.bashrc
29+
# RUN yum install -y rh-maven35
30+
# RUN echo 'source /opt/rh/rh-maven35/enable' >> ~/.bashrc
3931

4032
# install protoc
4133
RUN wget -O /protobuf-21.7-linux-x86_64.zip https://github.com/protocolbuffers/protobuf/releases/download/v21.7/protoc-21.7-linux-x86_64.zip

0 commit comments

Comments
 (0)