Skip to content

Commit 3d91597

Browse files
committed
Update centos7_s390x with limited devtoolset-11 packages
1 parent da3f496 commit 3d91597

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

centos7_s390x/Dockerfile

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ RUN \
3636
yum --setopt=tsflags=nodocs -y update \
3737
&& yum -y install centos-release-scl-rh \
3838
&& 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 \
4040
&& yum --setopt=tsflags=nodocs -y install make perl python3 which bzip2 wget \
4141
&& yum --setopt=tsflags=nodocs -y install gettext-devel openssl openssl-devel zlib-devel expat-devel libssh2-devel jemalloc-devel \
4242
&& yum -y clean all
@@ -48,9 +48,9 @@ RUN \
4848
wget https://github.com/nghttp2/nghttp2/releases/download/v$NGHTTP2_VERSION/nghttp2-$NGHTTP2_VERSION.tar.gz \
4949
&& tar zxf nghttp2-$NGHTTP2_VERSION.tar.gz \
5050
&& 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' \
5454
&& popd \
5555
&& rm -rf nghttp2-$NGHTTP2_VERSION nghttp2-$NGHTTP2_VERSION.tar.gz
5656

@@ -61,9 +61,9 @@ RUN \
6161
wget https://github.com/rockdaboot/libpsl/releases/download/$LIBPSL_VERSION/libpsl-$LIBPSL_VERSION.tar.gz \
6262
&& tar zxf libpsl-$LIBPSL_VERSION.tar.gz \
6363
&& 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' \
6767
&& popd \
6868
&& rm -rf libpsl-$LIBPSL_VERSION libpsl-$LIBPSL_VERSION.tar.gz
6969

@@ -92,9 +92,9 @@ RUN \
9292
&& wget https://curl.haxx.se/download/curl-$CURL_VERSION.tar.gz \
9393
&& tar zxf curl-$CURL_VERSION.tar.gz \
9494
&& 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' \
9898
&& popd \
9999
&& rm -rf curl-$CURL_VERSION curl-$CURL_VERSION.tar.gz
100100

@@ -140,10 +140,10 @@ RUN \
140140
&& wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-$GIT_VERSION.tar.gz \
141141
&& tar zxf git-$GIT_VERSION.tar.gz \
142142
&& 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' \
147147
&& popd \
148148
&& rm -rf git-$GIT_VERSION git-$GIT_VERSION.tar.gz
149149

@@ -194,18 +194,18 @@ RUN \
194194
&& wget https://cmake.org/files/v$CMAKE_VERSION_SHORT/cmake-$CMAKE_VERSION.tar.gz \
195195
&& tar zxvf cmake-$CMAKE_VERSION.tar.gz \
196196
&& 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' \
200200
&& popd \
201201
&& rm -rf cmake-$CMAKE_VERSION cmake-$CMAKE_VERSION.tar.gz \
202202
&& wget -O gflags-$GFLAGS_VERSION.tar.gz https://github.com/gflags/gflags/archive/refs/tags/v$GFLAGS_VERSION.tar.gz \
203203
&& tar zxvf gflags-$GFLAGS_VERSION.tar.gz \
204204
&& mkdir gflags-$GFLAGS_VERSION/build \
205205
&& 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' \
209209
&& popd \
210210
&& rm -rf gflags-$GFLAGS_VERSION gflags-$GFLAGS_VERSION.tar.gz
211211

0 commit comments

Comments
 (0)