Skip to content
Snippets Groups Projects
Commit 7b2a92d2 authored by Alexander A. Klimov's avatar Alexander A. Klimov :sunglasses:
Browse files

CentOS 7: install GCC 11

parent 19cdc2a0
No related branches found
No related tags found
1 merge request!7CentOS 7: install GCC 11
Pipeline #22973 passed
...@@ -10,7 +10,7 @@ RUN yum install -y \ ...@@ -10,7 +10,7 @@ RUN yum install -y \
patch rpm-build redhat-rpm-config rpmlint \ patch rpm-build redhat-rpm-config rpmlint \
patch make util-linux \ patch make util-linux \
yum-utils yum-plugin-ovl rpmdevtools createrepo \ yum-utils yum-plugin-ovl rpmdevtools createrepo \
epel-release \ epel-release centos-release-scl \
&& yum clean all && yum clean all
RUN yum install -y \ RUN yum install -y \
...@@ -22,11 +22,11 @@ RUN yum install -y \ ...@@ -22,11 +22,11 @@ RUN yum install -y \
yajl-devel \ yajl-devel \
libedit-devel \ libedit-devel \
ccache \ ccache \
gcc gcc-c++ \ devtoolset-11-gcc devtoolset-11-gcc-c++ \
&& yum clean all && yum clean all
# Note: we are disabling scl-rh & scl source since it disappeared from vault (repodata is missing on every point release) # Note: we are disabling scl-rh & scl source since it disappeared from vault (repodata is missing on every point release)
RUN yum install -y centos-release-scl centos-release-scl-rh scl-utils-build \ RUN yum install -y centos-release-scl-rh scl-utils-build \
&& sed -i -e '/centos-sclo-rh-source/,+5 s/^/#/' /etc/yum.repos.d/CentOS-SCLo-scl-rh.repo \ && sed -i -e '/centos-sclo-rh-source/,+5 s/^/#/' /etc/yum.repos.d/CentOS-SCLo-scl-rh.repo \
&& sed -i -e '/centos-sclo-sclo-source/,+5 s/^/#/' /etc/yum.repos.d/CentOS-SCLo-scl.repo && sed -i -e '/centos-sclo-sclo-source/,+5 s/^/#/' /etc/yum.repos.d/CentOS-SCLo-scl.repo
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment