File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ COPY --chmod=0755 <<-"EOF" dostarenv.sh
6464 spack compiler add $(dirname $(which gcc))
6565 spack mirror add --scope site spack-buildcache file:///spack-buildcache || true
6666 spack mirror list
67+ spack config add 'config:install_tree:root:/opt/software'
6768 spack env remove -y ${1} || true
6869 spack env create ${1} /star-spack/environments/${1}.yaml
6970 spack env activate ${1}
@@ -73,12 +74,6 @@ COPY --chmod=0755 <<-"EOF" dostarenv.sh
7374 spack env deactivate
7475EOF
7576
76- COPY <<"EOF" /root/.spack/config.yaml
77- config:
78- install_tree:
79- root: /opt/software
80- EOF
81-
8277RUN --mount=type=cache,target=/spack-buildcache ./dostarenv.sh star-loose
8378RUN --mount=type=cache,target=/spack-buildcache ./dostarenv.sh ${starenv}
8479# Load only the umbrella star-env module
You can’t perform that action at this time.
0 commit comments