Skip to content

Commit 60a6550

Browse files
committed
docker: Rather reinstall gcc11 properly
1 parent 7d6f5e0 commit 60a6550

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ ARG starenv
8888

8989
COPY --from=build-stage /cern /cern
9090
COPY --from=build-stage /etc/bashrc /etc/bashrc
91-
COPY --from=build-stage /opt/rh /opt/rh
9291
COPY --from=build-stage /opt/software /opt/software
9392
COPY --from=build-stage /star-spack/spack/var/spack/environments/${starenv}/loads /etc/profile.d/z10_load_spack_env_modules.sh
9493
COPY --from=build-stage /star-spack/spack/share/spack/modules/linux-scientific7-x86_64 /opt/linux-scientific7-x86_64
@@ -106,6 +105,11 @@ RUN yum update -q -y \
106105
environment-modules \
107106
&& yum clean all
108107

108+
RUN curl -O http://mirror.centos.org/centos/7/extras/x86_64/Packages/centos-release-scl-rh-2-3.el7.centos.noarch.rpm \
109+
&& rpm -ivh centos-release-scl-rh-2-3.el7.centos.noarch.rpm \
110+
&& yum install -y devtoolset-11 \
111+
&& yum clean all
112+
109113
# Install extra python modules used by the STAR software
110114
RUN pip install pyparsing==2.2.0
111115

0 commit comments

Comments
 (0)