Skip to content

Instantly share code, notes, and snippets.

@nazavode
Last active February 1, 2018 17:50
Show Gist options
  • Save nazavode/34bb07797429a033ed1a8b51930bfdf0 to your computer and use it in GitHub Desktop.
Save nazavode/34bb07797429a033ed1a8b51930bfdf0 to your computer and use it in GitHub Desktop.
Regression for #7128 (fixed by #7157)
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 cd /home/spack/spack && \
curl https://patch-diff.githubusercontent.com/raw/spack/spack/pull/7157.patch | patch -p1
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