File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,14 @@ ARG UID=1000
6
6
RUN groupadd --gid $GID node \
7
7
&& adduser --gid $GID --uid $UID node
8
8
9
+ RUN cat <<EOF | tee -a /etc/yum.repos.d/devtoolset-12.repo
10
+ [devtoolset-12]
11
+ name=Devtoolset 12
12
+ baseurl=https://buildlogs.centos.org/c7-devtoolset-12.x86_64/
13
+ enabled=1
14
+ gpgcheck=0
15
+ EOF
16
+
9
17
RUN ulimit -n 1024 \
10
18
&& sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* \
11
19
&& sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* \
@@ -22,7 +30,7 @@ RUN ulimit -n 1024 \
22
30
rh-python38 \
23
31
ccache \
24
32
xz-utils \
25
- devtoolset-11 \
33
+ devtoolset-12 \
26
34
glibc-devel
27
35
28
36
COPY --chown=node:node run.sh /home/node/run.sh
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ export CC="ccache gcc"
34
34
export CXX=" ccache g++"
35
35
export MAJOR_VERSION=$( echo ${fullversion} | cut -d . -f 1 | tr --delete v)
36
36
37
- . /opt/rh/devtoolset-11 /enable
37
+ . /opt/rh/devtoolset-12 /enable
38
38
. /opt/rh/rh-python38/enable
39
39
40
40
make -j$( getconf _NPROCESSORS_ONLN) binary V= \
You can’t perform that action at this time.
0 commit comments