-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move spack commands into a single script that also deletes spack to s…
…ave space
- Loading branch information
Showing
5 changed files
with
36 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,6 @@ FROM ubuntu:20.04@sha256:33a5cc25d22c45900796a1aca487ad7a7cb09f09ea00b779e3b2026 | |
|
||
LABEL maintainer="Chris White <[email protected]>,@vsoch" | ||
|
||
ARG uptodate_github_commit_spack__spack__develop=e381e166ec27bb56c2d3bc856e7020224a005d1d | ||
ENV spack_commit=${uptodate_github_commit_spack__spack__develop} | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
ENV TZ=America/Los_Angeles | ||
|
||
|
@@ -14,12 +12,10 @@ ENV PATH=/opt/view/bin:/opt/spack/bin:$PATH \ | |
CMAKE_PREFIX_PATH=/opt/view \ | ||
ACLOCAL_PATH=/opt/view/share/aclocal | ||
|
||
# Install repository scripts dir to containers /opt/scripts | ||
WORKDIR /opt | ||
COPY ./scripts /opt/scripts | ||
# Install spack | ||
|
||
# Install base packages | ||
RUN ./scripts/ubuntu/apt-install-defaults-plus-args.sh && \ | ||
./scripts/install-cmake-binary.sh && \ | ||
./scripts/set-up-spack.sh | ||
# Tell spack to use this one without arguments | ||
# NOTE: this has to be here, setting it earlier will kill spack | ||
ENV SPACK_ENV=/opt/env | ||
./scripts/install-cmake-binary.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters