I have a Dockerfile for building on Centos 6 with GCC 5.3 that looks like this:
FROM centos:6
RUN yum -y update && yum -y install centos-release-scl
RUN yum -y update && yum -y install devtoolset-4-gcc-c++
RUN scl enable devtoolset-4 ./build.sh #Build with gcc 5
Unfortunately devtoolset-4 is no longer supported in centos-release-scl. It's not hard to find mirrors which still seem to have the file; e.g.
But I'm not sure how to install from this (or from a local download of it). Any help would be much appreciated.
NB. I know it's not ideal to use unsupported packages, but the the only alternative i can find is to build GCC from scratch, which takes so long that my docker build times out in CI.