containerize: fix missing environment activation (#31596)
This commit is contained in:
parent
c589f97cf0
commit
70be612f43
1 changed files with 1 additions and 2 deletions
|
@ -19,8 +19,7 @@ RUN mkdir {{ paths.environment }} \
|
|||
{{ manifest }} > {{ paths.environment }}/spack.yaml
|
||||
|
||||
# Install the software, remove unnecessary deps
|
||||
RUN spack install --fail-fast && \
|
||||
spack gc -y
|
||||
RUN cd {{ paths.environment }} && spack env activate . && spack install --fail-fast && spack gc -y
|
||||
{% if strip %}
|
||||
|
||||
# Strip all the binaries
|
||||
|
|
Loading…
Reference in a new issue