Skip to content
Snippets Groups Projects
Unverified Commit 60283775 authored by Glenn Johnson's avatar Glenn Johnson Committed by GitHub
Browse files

Documentation update for container example (#17321)

This updates the documentation to reflect #17316.
parent 4433e4de
Branches
Tags
No related merge requests found
...@@ -45,7 +45,7 @@ Environments: ...@@ -45,7 +45,7 @@ Environments:
&& echo " view: /opt/view") > /opt/spack-environment/spack.yaml && echo " view: /opt/view") > /opt/spack-environment/spack.yaml
# Install the software, remove unnecessary deps # 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 # Strip all the binaries
RUN find -L /opt/view/* -type f -exec readlink -f '{}' \; | \ RUN find -L /opt/view/* -type f -exec readlink -f '{}' \; | \
...@@ -267,7 +267,7 @@ following ``Dockerfile``: ...@@ -267,7 +267,7 @@ following ``Dockerfile``:
&& echo " view: /opt/view") > /opt/spack-environment/spack.yaml && echo " view: /opt/view") > /opt/spack-environment/spack.yaml
# Install the software, remove unnecessary deps # 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 # Strip all the binaries
RUN find -L /opt/view/* -type f -exec readlink -f '{}' \; | \ RUN find -L /opt/view/* -type f -exec readlink -f '{}' \; | \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment