Skip to content

Commit

Permalink
Bump up GCC version
Browse files Browse the repository at this point in the history
  • Loading branch information
normanmaurer committed Oct 24, 2024
1 parent ccc8954 commit eaa4a0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile.centos6
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ RUN yum install -y centos-release-scl
RUN sed -i -e 's/^mirrorlist/#mirrorlist/g' -e 's/^# baseurl=http:\/\/mirror.centos.org\/centos\/6\//baseurl=https:\/\/vault.centos.org\/centos\/6\//g' /etc/yum.repos.d/CentOS-SCLo-scl.repo
RUN sed -i -e 's/^mirrorlist/#mirrorlist/g' -e 's/^#baseurl=http:\/\/mirror.centos.org\/centos\/6\//baseurl=https:\/\/vault.centos.org\/centos\/6\//g' /etc/yum.repos.d/CentOS-SCLo-scl-rh.repo

RUN yum -y install devtoolset-7-gcc devtoolset-7-gcc-c++
RUN echo 'source /opt/rh/devtoolset-7/enable' >> ~/.bashrc
RUN yum -y install devtoolset-8-gcc devtoolset-8-gcc-c++
RUN echo 'source /opt/rh/devtoolset-8/enable' >> ~/.bashrc

RUN rm -rf $SOURCE_DIR

Expand Down

0 comments on commit eaa4a0a

Please sign in to comment.