File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -5,9 +5,19 @@ RUN sed -i 's/enabled=1/enabled=0/' /etc/yum/pluginconf.d/fastestmirror.conf
5
5
RUN sed -i 's/mirrorlist/#mirrorlist/' /etc/yum.repos.d/*.repo
6
6
RUN sed -i 's|#baseurl=http://mirror.centos.org/centos/$releasever|baseurl=http://vault.centos.org/5.11|' /etc/yum.repos.d/*.repo
7
7
8
- RUN yum -y install make gcc gcc-c++ glibc-devel perl wget bzip2 curl cmake \
8
+ RUN yum -y install make gcc gcc-c++ glibc-devel perl wget bzip2 curl \
9
9
&& rm -rf /var/lib/apt/lists/*
10
10
11
+ RUN mkdir /tmp/cmake \
12
+ && cd /tmp/cmake \
13
+ && wget https://cmake.org/files/v3.10/cmake-3.10.0.tar.gz \
14
+ && tar xvfz cmake-3.10.0.tar.gz \
15
+ && cd cmakd-3.10.0 \
16
+ && ./bootstrap \
17
+ && make \
18
+ && make install \
19
+ && rm -rf /tmp/cmake
20
+
11
21
RUN mkdir /tmp/work \
12
22
&& cd /tmp/work \
13
23
&& wget http://www.netgull.com/gcc/releases/gcc-4.8.3/gcc-4.8.3.tar.gz \
You can’t perform that action at this time.
0 commit comments