diff options
author | Glenn Johnson <glenn-johnson@uiowa.edu> | 2020-07-01 01:40:36 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-01 08:40:36 +0200 |
commit | 60283775b30b85469e663b321a4718fc06a55752 (patch) | |
tree | 7a41e7ba01fa1c091dcf0037b68effc38727c7ce /lib/spack/docs/containers.rst | |
parent | 4433e4de2d9e43ce85aca211a897fd97f540e8e4 (diff) | |
download | spack-60283775b30b85469e663b321a4718fc06a55752.tar.gz spack-60283775b30b85469e663b321a4718fc06a55752.tar.bz2 spack-60283775b30b85469e663b321a4718fc06a55752.tar.xz spack-60283775b30b85469e663b321a4718fc06a55752.zip |
Documentation update for container example (#17321)
This updates the documentation to reflect #17316.
Diffstat (limited to 'lib/spack/docs/containers.rst')
-rw-r--r-- | lib/spack/docs/containers.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/spack/docs/containers.rst b/lib/spack/docs/containers.rst index fe678fd76d..b215507701 100644 --- a/lib/spack/docs/containers.rst +++ b/lib/spack/docs/containers.rst @@ -45,7 +45,7 @@ Environments: && echo " view: /opt/view") > /opt/spack-environment/spack.yaml # Install the software, remove unnecessary deps - RUN cd /opt/spack-environment && spack install && spack gc -y + RUN cd /opt/spack-environment && spack env activate . && spack install && spack gc -y # Strip all the binaries RUN find -L /opt/view/* -type f -exec readlink -f '{}' \; | \ @@ -267,7 +267,7 @@ following ``Dockerfile``: && echo " view: /opt/view") > /opt/spack-environment/spack.yaml # Install the software, remove unnecessary deps - RUN cd /opt/spack-environment && spack install && spack gc -y + RUN cd /opt/spack-environment && spack env activate . && spack install && spack gc -y # Strip all the binaries RUN find -L /opt/view/* -type f -exec readlink -f '{}' \; | \ |