Skip to content
Snippets Groups Projects
Commit 0a3551db authored by Sylvester Joosten's avatar Sylvester Joosten
Browse files

Ensure we get the latest version of np-spack

parent cbf2fa8c
No related branches found
No related tags found
No related merge requests found
...@@ -19,6 +19,7 @@ ENV DOCKERFILE_BASE=ubuntu \ ...@@ -19,6 +19,7 @@ ENV DOCKERFILE_BASE=ubuntu \
## Ensure an up-to-date custom package list ## Ensure an up-to-date custom package list
RUN rm -rf $SPACK_ROOT/np-spack \ RUN rm -rf $SPACK_ROOT/np-spack \
&& echo "force-redownload" \
&& git clone https://eicweb.phy.anl.gov/EIC/np-spack.git $SPACK_ROOT/np-spack \ && git clone https://eicweb.phy.anl.gov/EIC/np-spack.git $SPACK_ROOT/np-spack \
&& cd $SPACK_ROOT/np-spack && git checkout v`spack --version` && cd - \ && cd $SPACK_ROOT/np-spack && git checkout v`spack --version` && cd - \
&& rm -rf $SPACK_ROOT/np-spack/.git \ && rm -rf $SPACK_ROOT/np-spack/.git \
...@@ -31,7 +32,6 @@ COPY spack.yaml /opt/spack-environment/spack.yaml ...@@ -31,7 +32,6 @@ COPY spack.yaml /opt/spack-environment/spack.yaml
## Install the software, no garbage collection at this stage ## Install the software, no garbage collection at this stage
## as this is a raw builder image ## as this is a raw builder image
RUN cd /opt/spack-environment \ RUN cd /opt/spack-environment \
&& echo "force" \
&& spack env activate . \ && spack env activate . \
&& spack install -j32 \ && spack install -j32 \
&& spack clean -a && spack clean -a
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment