Skip to content

Commit bdfccf3

Browse files
committed
fixup: add spack setup-env.sh source
1 parent 506c5c7 commit bdfccf3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docker/ubuntu

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,10 @@ RUN . /opt/spack-environment/activate.sh && \
8989

9090
# Set entry point
9191
RUN { \
92-
echo '.' /opt/spack-environment/activate.sh \
93-
&& echo export OMPI_ALLOW_RUN_AS_ROOT=1 \
92+
echo export OMPI_ALLOW_RUN_AS_ROOT=1 \
9493
&& echo export OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1 \
94+
&& echo '.' /opt/spack/share/spack/setup-env.sh \
95+
&& echo '.' /opt/spack-environment/activate.sh \
9596
} > /.bashrc \
9697
&& { \
9798
echo '#!/bin/sh' \

0 commit comments

Comments
 (0)