Last active
January 30, 2018 15:52
-
-
Save nazavode/61650268b150e94bdbfa58fe0f626373 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
FROM centos:7 | |
RUN yum -y update && \ | |
yum -y upgrade && \ | |
yum -y install git gcc gcc-c++ make bzip2 patch file | |
RUN useradd -ms /bin/bash spack | |
USER spack | |
RUN git clone --depth=1 --single-branch https://github.com/spack/spack.git /home/spack/spack | |
RUN git clone --depth=1 --single-branch https://github.com/nazavode/spack-repo-test.git /home/spack/spack-repo-test | |
RUN /home/spack/spack/bin/spack repo add /home/spack/spack-repo-test | |
RUN /home/spack/spack/bin/spack spec example-dependent | |
RUN /home/spack/spack/bin/spack install example-dependent |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment