|
36 | 36 | && sed -i s%#baseurl=http://mirror.centos.org/altarch/\$releasever/%baseurl=https://vault.centos.org/altarch/7.9.2009/%g /etc/yum.repos.d/CentOS-fasttrack.repo \ |
37 | 37 | && yum --setopt=tsflags=nodocs -y update \ |
38 | 38 | && yum --setopt=tsflags=nodocs -y install epel-release \ |
39 | | - && yum --setopt=tsflags=nodocs -y install centos-release-scl \ |
40 | | - && sed -i s%mirrorlist=http%#mirrorlist=http%g /etc/yum.repos.d/CentOS-SCLo-scl.repo \ |
41 | | - && sed -i s%mirrorlist=http%#mirrorlist=http%g /etc/yum.repos.d/CentOS-SCLo-scl-rh.repo \ |
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 | | - && 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 \ |
| 39 | + && echo -e '[c7-devtoolset-12]\nname=CentOS-7 - Devtoolset 12 (\$basearch)\nbaseurl=https://buildlogs.centos.org/c7-devtoolset-12.\$basearch/\nenabled=1\ngpgcheck=0' > /etc/yum.repos.d/centos-buildlogs-aarch64.repo \ |
44 | 40 | && yum --setopt=tsflags=nodocs -y upgrade \ |
45 | | - && yum --setopt=tsflags=nodocs -y install devtoolset-7 \ |
| 41 | + && yum --setopt=tsflags=nodocs -y install devtoolset-12 \ |
46 | 42 | && yum --setopt=tsflags=nodocs -y install make perl python3 which bzip2 wget \ |
47 | 43 | && yum --setopt=tsflags=nodocs -y install gettext-devel openssl openssl-devel zlib-devel expat-devel libssh2-devel jemalloc-devel \ |
48 | 44 | && yum -y clean all |
|
54 | 50 | wget https://github.com/nghttp2/nghttp2/releases/download/v$NGHTTP2_VERSION/nghttp2-$NGHTTP2_VERSION.tar.gz \ |
55 | 51 | && tar zxf nghttp2-$NGHTTP2_VERSION.tar.gz \ |
56 | 52 | && 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' \ |
| 53 | + && scl enable devtoolset-12 './configure --prefix=/usr --with-openssl --with-zlib --with-jemalloc --enable-lib-only' \ |
| 54 | + && scl enable devtoolset-12 'make -j $JOBS' \ |
| 55 | + && scl enable devtoolset-12 'make install' \ |
60 | 56 | && popd \ |
61 | 57 | && rm -rf nghttp2-$NGHTTP2_VERSION nghttp2-$NGHTTP2_VERSION.tar.gz |
62 | 58 |
|
|
67 | 63 | wget https://github.com/rockdaboot/libpsl/releases/download/$LIBPSL_VERSION/libpsl-$LIBPSL_VERSION.tar.gz \ |
68 | 64 | && tar zxf libpsl-$LIBPSL_VERSION.tar.gz \ |
69 | 65 | && 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' \ |
| 66 | + && scl enable devtoolset-12 './configure --prefix=/usr' \ |
| 67 | + && scl enable devtoolset-12 'make -j $JOBS' \ |
| 68 | + && scl enable devtoolset-12 'make install' \ |
73 | 69 | && popd \ |
74 | 70 | && rm -rf libpsl-$LIBPSL_VERSION libpsl-$LIBPSL_VERSION.tar.gz |
75 | 71 |
|
|
98 | 94 | && wget https://curl.haxx.se/download/curl-$CURL_VERSION.tar.gz \ |
99 | 95 | && tar zxf curl-$CURL_VERSION.tar.gz \ |
100 | 96 | && 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' \ |
| 97 | + && scl enable devtoolset-12 './configure --prefix=/usr --enable-ipv6 --enable-unix-sockets --with-ssl --with-libssh2' \ |
| 98 | + && scl enable devtoolset-12 'make -j $JOBS' \ |
| 99 | + && scl enable devtoolset-12 'make install' \ |
104 | 100 | && popd \ |
105 | 101 | && rm -rf curl-$CURL_VERSION curl-$CURL_VERSION.tar.gz |
106 | 102 |
|
@@ -146,10 +142,10 @@ RUN \ |
146 | 142 | && wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-$GIT_VERSION.tar.gz \ |
147 | 143 | && tar zxf git-$GIT_VERSION.tar.gz \ |
148 | 144 | && 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' \ |
| 145 | + && scl enable devtoolset-12 'make configure' \ |
| 146 | + && scl enable devtoolset-12 'NO_PERL=YesPlease NO_TCLTK=YesPlease NO_GETTEXT=YesPlease ./configure --prefix=/usr' \ |
| 147 | + && scl enable devtoolset-12 'make -j $JOBS all' \ |
| 148 | + && scl enable devtoolset-12 'make install' \ |
153 | 149 | && popd \ |
154 | 150 | && rm -rf git-$GIT_VERSION git-$GIT_VERSION.tar.gz |
155 | 151 |
|
@@ -201,18 +197,18 @@ RUN \ |
201 | 197 | && wget https://cmake.org/files/v$CMAKE_VERSION_SHORT/cmake-$CMAKE_VERSION.tar.gz \ |
202 | 198 | && tar zxvf cmake-$CMAKE_VERSION.tar.gz \ |
203 | 199 | && 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' \ |
| 200 | + && scl enable devtoolset-12 './bootstrap --system-curl' \ |
| 201 | + && scl enable devtoolset-12 'make -j $JOBS' \ |
| 202 | + && scl enable devtoolset-12 'make install' \ |
207 | 203 | && popd \ |
208 | 204 | && rm -rf cmake-$CMAKE_VERSION cmake-$CMAKE_VERSION.tar.gz \ |
209 | 205 | && wget -O gflags-$GFLAGS_VERSION.tar.gz https://github.com/gflags/gflags/archive/refs/tags/v$GFLAGS_VERSION.tar.gz \ |
210 | 206 | && tar zxvf gflags-$GFLAGS_VERSION.tar.gz \ |
211 | 207 | && mkdir gflags-$GFLAGS_VERSION/build \ |
212 | 208 | && 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' \ |
| 209 | + && scl enable devtoolset-12 'CMAKE_INSTALL_PREFIX=/usr cmake ..' \ |
| 210 | + && scl enable devtoolset-12 'make -j $JOBS' \ |
| 211 | + && scl enable devtoolset-12 'make install' \ |
216 | 212 | && popd \ |
217 | 213 | && rm -rf gflags-$GFLAGS_VERSION gflags-$GFLAGS_VERSION.tar.gz |
218 | 214 |
|
|
0 commit comments