Skip to content

Commit

Permalink
Ensure spack boostrap root is saved in the right place & use correct …
Browse files Browse the repository at this point in the history
…shell for fullspack
  • Loading branch information
jbigot committed Sep 4, 2024
1 parent bb1659c commit 5045aaf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion spack/2a-precomp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ RUN set -ex \


# Bootstrap spack (spack bootstrap now is not available in 0.18)
RUN spack bootstrap root "${SPACK_ROOT}/lib/spack-bootstrap" \
RUN spack bootstrap root --scope site "${SPACK_ROOT}/lib/spack-bootstrap" \
&& spack solve zlib \
&& spack clean -a

Expand Down
5 changes: 5 additions & 0 deletions spack/7-finalize/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,11 @@ RUN set -ex \
&& ln -s ${SPACK_ROOT}/share/spack/docker/entrypoint.bash /usr/local/bin/spack-env


SHELL ["docker-shell"]
ENTRYPOINT ["/bin/bash", "/opt/spack/share/spack/docker/entrypoint.bash"]
CMD ["interactive-shell"]


USER ci:ci
WORKDIR /home/ci
ENV HOME=/home/ci
Expand Down

0 comments on commit 5045aaf

Please sign in to comment.