From cfe89a29a1419c737a23280445b7cc4c48dd182f Mon Sep 17 00:00:00 2001 From: Dmitri Smirnov Date: Wed, 1 Nov 2023 14:19:36 -0400 Subject: [PATCH] fix: load only the umbrella star-env module --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index a135dea..96aec73 100644 --- a/Dockerfile +++ b/Dockerfile @@ -68,7 +68,6 @@ COPY --chmod=0755 <<-"EOF" dostarenv.sh spack env create ${1} /star-spack/environments/${1}.yaml spack env activate ${1} spack --insecure install --no-check-signature --reuse - spack env loads --exclude vc spack module tcl refresh -y spack env deactivate EOF @@ -82,10 +81,10 @@ EOF RUN ./dostarenv.sh star-utils RUN ./dostarenv.sh star-x86_64-loose RUN ./dostarenv.sh ${starenv} -# Manually append specific modules to loads +# Load only the umbrella star-env module RUN <<-EOF source /star-spack/setup.sh - spack -e star-x86_64-loose module tcl loads py-pyparsing@2.2 python@2.7 vc@0.7.4 libiconv >> /star-spack/spack/var/spack/environments/${starenv}/loads + spack -e ${starenv} module tcl loads star-env >> /star-spack/spack/var/spack/environments/${starenv}/loads EOF # Strip all the binaries