|
42 | 42 | && sed -i s%#\\sbaseurl=http://mirror.centos.org/centos/7/%baseurl=https://vault.centos.org/altarch/7.9.2009/%g /etc/yum.repos.d/CentOS-SCLo-scl.repo \ |
43 | 43 | && sed -i s%#baseurl=http://mirror.centos.org/centos/7/%baseurl=https://vault.centos.org/altarch/7.9.2009/%g /etc/yum.repos.d/CentOS-SCLo-scl-rh.repo \ |
44 | 44 | && yum --setopt=tsflags=nodocs -y upgrade \ |
45 | | - && yum --setopt=tsflags=nodocs -y install devtoolset-7 \ |
| 45 | + && yum --setopt=tsflags=nodocs -y install devtoolset-11 \ |
46 | 46 | && yum --setopt=tsflags=nodocs -y install make perl python3 which bzip2 wget \ |
47 | 47 | && yum --setopt=tsflags=nodocs -y install gettext-devel openssl openssl-devel zlib-devel expat-devel libssh2-devel jemalloc-devel \ |
48 | 48 | && yum -y clean all |
|
54 | 54 | wget https://github.com/nghttp2/nghttp2/releases/download/v$NGHTTP2_VERSION/nghttp2-$NGHTTP2_VERSION.tar.gz \ |
55 | 55 | && tar zxf nghttp2-$NGHTTP2_VERSION.tar.gz \ |
56 | 56 | && pushd nghttp2-$NGHTTP2_VERSION \ |
57 | | - && scl enable devtoolset-7 './configure --prefix=/usr --with-openssl --with-zlib --with-jemalloc --enable-lib-only' \ |
58 | | - && scl enable devtoolset-7 'make -j $JOBS' \ |
59 | | - && scl enable devtoolset-7 'make install' \ |
| 57 | + && scl enable devtoolset-11 './configure --prefix=/usr --with-openssl --with-zlib --with-jemalloc --enable-lib-only' \ |
| 58 | + && scl enable devtoolset-11 'make -j $JOBS' \ |
| 59 | + && scl enable devtoolset-11 'make install' \ |
60 | 60 | && popd \ |
61 | 61 | && rm -rf nghttp2-$NGHTTP2_VERSION nghttp2-$NGHTTP2_VERSION.tar.gz |
62 | 62 |
|
|
67 | 67 | wget https://github.com/rockdaboot/libpsl/releases/download/$LIBPSL_VERSION/libpsl-$LIBPSL_VERSION.tar.gz \ |
68 | 68 | && tar zxf libpsl-$LIBPSL_VERSION.tar.gz \ |
69 | 69 | && pushd libpsl-$LIBPSL_VERSION \ |
70 | | - && scl enable devtoolset-7 './configure --prefix=/usr' \ |
71 | | - && scl enable devtoolset-7 'make -j $JOBS' \ |
72 | | - && scl enable devtoolset-7 'make install' \ |
| 70 | + && scl enable devtoolset-11 './configure --prefix=/usr' \ |
| 71 | + && scl enable devtoolset-11 'make -j $JOBS' \ |
| 72 | + && scl enable devtoolset-11 'make install' \ |
73 | 73 | && popd \ |
74 | 74 | && rm -rf libpsl-$LIBPSL_VERSION libpsl-$LIBPSL_VERSION.tar.gz |
75 | 75 |
|
|
98 | 98 | && wget https://curl.haxx.se/download/curl-$CURL_VERSION.tar.gz \ |
99 | 99 | && tar zxf curl-$CURL_VERSION.tar.gz \ |
100 | 100 | && pushd curl-$CURL_VERSION \ |
101 | | - && scl enable devtoolset-7 './configure --prefix=/usr --enable-ipv6 --enable-unix-sockets --with-ssl --with-libssh2' \ |
102 | | - && scl enable devtoolset-7 'make -j $JOBS' \ |
103 | | - && scl enable devtoolset-7 'make install' \ |
| 101 | + && scl enable devtoolset-11 './configure --prefix=/usr --enable-ipv6 --enable-unix-sockets --with-ssl --with-libssh2' \ |
| 102 | + && scl enable devtoolset-11 'make -j $JOBS' \ |
| 103 | + && scl enable devtoolset-11 'make install' \ |
104 | 104 | && popd \ |
105 | 105 | && rm -rf curl-$CURL_VERSION curl-$CURL_VERSION.tar.gz |
106 | 106 |
|
@@ -146,10 +146,10 @@ RUN \ |
146 | 146 | && wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-$GIT_VERSION.tar.gz \ |
147 | 147 | && tar zxf git-$GIT_VERSION.tar.gz \ |
148 | 148 | && pushd git-$GIT_VERSION \ |
149 | | - && scl enable devtoolset-7 'make configure' \ |
150 | | - && scl enable devtoolset-7 'NO_PERL=YesPlease NO_TCLTK=YesPlease NO_GETTEXT=YesPlease ./configure --prefix=/usr' \ |
151 | | - && scl enable devtoolset-7 'make -j $JOBS all' \ |
152 | | - && scl enable devtoolset-7 'make install' \ |
| 149 | + && scl enable devtoolset-11 'make configure' \ |
| 150 | + && scl enable devtoolset-11 'NO_PERL=YesPlease NO_TCLTK=YesPlease NO_GETTEXT=YesPlease ./configure --prefix=/usr' \ |
| 151 | + && scl enable devtoolset-11 'make -j $JOBS all' \ |
| 152 | + && scl enable devtoolset-11 'make install' \ |
153 | 153 | && popd \ |
154 | 154 | && rm -rf git-$GIT_VERSION git-$GIT_VERSION.tar.gz |
155 | 155 |
|
@@ -201,18 +201,18 @@ RUN \ |
201 | 201 | && wget https://cmake.org/files/v$CMAKE_VERSION_SHORT/cmake-$CMAKE_VERSION.tar.gz \ |
202 | 202 | && tar zxvf cmake-$CMAKE_VERSION.tar.gz \ |
203 | 203 | && pushd cmake-$CMAKE_VERSION \ |
204 | | - && scl enable devtoolset-7 './bootstrap --system-curl' \ |
205 | | - && scl enable devtoolset-7 'make -j $JOBS' \ |
206 | | - && scl enable devtoolset-7 'make install' \ |
| 204 | + && scl enable devtoolset-11 './bootstrap --system-curl' \ |
| 205 | + && scl enable devtoolset-11 'make -j $JOBS' \ |
| 206 | + && scl enable devtoolset-11 'make install' \ |
207 | 207 | && popd \ |
208 | 208 | && rm -rf cmake-$CMAKE_VERSION cmake-$CMAKE_VERSION.tar.gz \ |
209 | 209 | && wget -O gflags-$GFLAGS_VERSION.tar.gz https://github.com/gflags/gflags/archive/refs/tags/v$GFLAGS_VERSION.tar.gz \ |
210 | 210 | && tar zxvf gflags-$GFLAGS_VERSION.tar.gz \ |
211 | 211 | && mkdir gflags-$GFLAGS_VERSION/build \ |
212 | 212 | && pushd gflags-$GFLAGS_VERSION/build \ |
213 | | - && scl enable devtoolset-7 'CMAKE_INSTALL_PREFIX=/usr cmake ..' \ |
214 | | - && scl enable devtoolset-7 'make -j $JOBS' \ |
215 | | - && scl enable devtoolset-7 'make install' \ |
| 213 | + && scl enable devtoolset-11 'CMAKE_INSTALL_PREFIX=/usr cmake ..' \ |
| 214 | + && scl enable devtoolset-11 'make -j $JOBS' \ |
| 215 | + && scl enable devtoolset-11 'make install' \ |
216 | 216 | && popd \ |
217 | 217 | && rm -rf gflags-$GFLAGS_VERSION gflags-$GFLAGS_VERSION.tar.gz |
218 | 218 |
|
|
0 commit comments