|
36 | 36 | yum --setopt=tsflags=nodocs -y update \ |
37 | 37 | && yum -y install centos-release-scl-rh \ |
38 | 38 | && yum --setopt=tsflags=nodocs -y upgrade \ |
39 | | - && yum --setopt=tsflags=nodocs -y install devtoolset-7 \ |
| 39 | + && yum --setopt=tsflags=nodocs -y install devtoolset-11-gcc devtoolset-11-gcc-c++ devtoolset-11-binutils devtoolset-11-runtime \ |
40 | 40 | && yum --setopt=tsflags=nodocs -y install make perl python3 which bzip2 wget \ |
41 | 41 | && yum --setopt=tsflags=nodocs -y install gettext-devel openssl openssl-devel zlib-devel expat-devel libssh2-devel jemalloc-devel \ |
42 | 42 | && yum -y clean all |
|
48 | 48 | wget https://github.com/nghttp2/nghttp2/releases/download/v$NGHTTP2_VERSION/nghttp2-$NGHTTP2_VERSION.tar.gz \ |
49 | 49 | && tar zxf nghttp2-$NGHTTP2_VERSION.tar.gz \ |
50 | 50 | && pushd nghttp2-$NGHTTP2_VERSION \ |
51 | | - && scl enable devtoolset-7 './configure --prefix=/usr --with-openssl --with-zlib --with-jemalloc --enable-lib-only' \ |
52 | | - && scl enable devtoolset-7 'make -j $JOBS' \ |
53 | | - && scl enable devtoolset-7 'make install' \ |
| 51 | + && scl enable devtoolset-11 './configure --prefix=/usr --with-openssl --with-zlib --with-jemalloc --enable-lib-only' \ |
| 52 | + && scl enable devtoolset-11 'make -j $JOBS' \ |
| 53 | + && scl enable devtoolset-11 'make install' \ |
54 | 54 | && popd \ |
55 | 55 | && rm -rf nghttp2-$NGHTTP2_VERSION nghttp2-$NGHTTP2_VERSION.tar.gz |
56 | 56 |
|
|
61 | 61 | wget https://github.com/rockdaboot/libpsl/releases/download/$LIBPSL_VERSION/libpsl-$LIBPSL_VERSION.tar.gz \ |
62 | 62 | && tar zxf libpsl-$LIBPSL_VERSION.tar.gz \ |
63 | 63 | && pushd libpsl-$LIBPSL_VERSION \ |
64 | | - && scl enable devtoolset-7 './configure --prefix=/usr' \ |
65 | | - && scl enable devtoolset-7 'make -j $JOBS' \ |
66 | | - && scl enable devtoolset-7 'make install' \ |
| 64 | + && scl enable devtoolset-11 './configure --prefix=/usr' \ |
| 65 | + && scl enable devtoolset-11 'make -j $JOBS' \ |
| 66 | + && scl enable devtoolset-11 'make install' \ |
67 | 67 | && popd \ |
68 | 68 | && rm -rf libpsl-$LIBPSL_VERSION libpsl-$LIBPSL_VERSION.tar.gz |
69 | 69 |
|
|
92 | 92 | && wget https://curl.haxx.se/download/curl-$CURL_VERSION.tar.gz \ |
93 | 93 | && tar zxf curl-$CURL_VERSION.tar.gz \ |
94 | 94 | && pushd curl-$CURL_VERSION \ |
95 | | - && scl enable devtoolset-7 './configure --prefix=/usr --enable-ipv6 --enable-unix-sockets --with-ssl --with-libssh2' \ |
96 | | - && scl enable devtoolset-7 'make -j $JOBS' \ |
97 | | - && scl enable devtoolset-7 'make install' \ |
| 95 | + && scl enable devtoolset-11 './configure --prefix=/usr --enable-ipv6 --enable-unix-sockets --with-ssl --with-libssh2' \ |
| 96 | + && scl enable devtoolset-11 'make -j $JOBS' \ |
| 97 | + && scl enable devtoolset-11 'make install' \ |
98 | 98 | && popd \ |
99 | 99 | && rm -rf curl-$CURL_VERSION curl-$CURL_VERSION.tar.gz |
100 | 100 |
|
@@ -140,10 +140,10 @@ RUN \ |
140 | 140 | && wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-$GIT_VERSION.tar.gz \ |
141 | 141 | && tar zxf git-$GIT_VERSION.tar.gz \ |
142 | 142 | && pushd git-$GIT_VERSION \ |
143 | | - && scl enable devtoolset-7 'make configure' \ |
144 | | - && scl enable devtoolset-7 'NO_PERL=YesPlease NO_TCLTK=YesPlease NO_GETTEXT=YesPlease ./configure --prefix=/usr' \ |
145 | | - && scl enable devtoolset-7 'make -j $JOBS all' \ |
146 | | - && scl enable devtoolset-7 'make install' \ |
| 143 | + && scl enable devtoolset-11 'make configure' \ |
| 144 | + && scl enable devtoolset-11 'NO_PERL=YesPlease NO_TCLTK=YesPlease NO_GETTEXT=YesPlease ./configure --prefix=/usr' \ |
| 145 | + && scl enable devtoolset-11 'make -j $JOBS all' \ |
| 146 | + && scl enable devtoolset-11 'make install' \ |
147 | 147 | && popd \ |
148 | 148 | && rm -rf git-$GIT_VERSION git-$GIT_VERSION.tar.gz |
149 | 149 |
|
@@ -194,18 +194,18 @@ RUN \ |
194 | 194 | && wget https://cmake.org/files/v$CMAKE_VERSION_SHORT/cmake-$CMAKE_VERSION.tar.gz \ |
195 | 195 | && tar zxvf cmake-$CMAKE_VERSION.tar.gz \ |
196 | 196 | && pushd cmake-$CMAKE_VERSION \ |
197 | | - && scl enable devtoolset-7 './bootstrap --system-curl' \ |
198 | | - && scl enable devtoolset-7 'make -j $JOBS' \ |
199 | | - && scl enable devtoolset-7 'make install' \ |
| 197 | + && scl enable devtoolset-11 './bootstrap --system-curl' \ |
| 198 | + && scl enable devtoolset-11 'make -j $JOBS' \ |
| 199 | + && scl enable devtoolset-11 'make install' \ |
200 | 200 | && popd \ |
201 | 201 | && rm -rf cmake-$CMAKE_VERSION cmake-$CMAKE_VERSION.tar.gz \ |
202 | 202 | && wget -O gflags-$GFLAGS_VERSION.tar.gz https://github.com/gflags/gflags/archive/refs/tags/v$GFLAGS_VERSION.tar.gz \ |
203 | 203 | && tar zxvf gflags-$GFLAGS_VERSION.tar.gz \ |
204 | 204 | && mkdir gflags-$GFLAGS_VERSION/build \ |
205 | 205 | && pushd gflags-$GFLAGS_VERSION/build \ |
206 | | - && scl enable devtoolset-7 'CMAKE_INSTALL_PREFIX=/usr cmake ..' \ |
207 | | - && scl enable devtoolset-7 'make -j $JOBS' \ |
208 | | - && scl enable devtoolset-7 'make install' \ |
| 206 | + && scl enable devtoolset-11 'CMAKE_INSTALL_PREFIX=/usr cmake ..' \ |
| 207 | + && scl enable devtoolset-11 'make -j $JOBS' \ |
| 208 | + && scl enable devtoolset-11 'make install' \ |
209 | 209 | && popd \ |
210 | 210 | && rm -rf gflags-$GFLAGS_VERSION gflags-$GFLAGS_VERSION.tar.gz |
211 | 211 |
|
|
0 commit comments