Skip to content

Commit

Permalink
docker: Use compiler arg in STAR_HOST_SYS
Browse files Browse the repository at this point in the history
  • Loading branch information
plexoos committed Jun 6, 2022
1 parent 60a6550 commit d2832f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ RUN find -L /opt/software/* -type f -exec readlink -f '{}' \; | \
FROM ${baseimg_os} AS starenv-stage

ARG starenv
ARG compiler

COPY --from=build-stage /cern /cern
COPY --from=build-stage /etc/bashrc /etc/bashrc
Expand Down Expand Up @@ -119,7 +120,7 @@ ENV CERN=/cern
ENV CERN_LEVEL=pro
ENV CERN_ROOT=$CERN/$CERN_LEVEL
ENV OPTSTAR=/opt/software
ENV STAR_HOST_SYS=sl79_gcc485
ENV STAR_HOST_SYS=sl79_${compiler}
ENV PATH=$CERN_ROOT/bin:$PATH
ENV LIBPATH+=:/lib64:/lib

Expand Down

0 comments on commit d2832f6

Please sign in to comment.