Skip to content

Commit

Permalink
spack entry point file name corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
munishchouhan committed Sep 6, 2023
1 parent dc78ca7 commit 5f51759
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ stage: final
mkdir -p /.singularity.d/env
cp -p /opt/spack-env/z10_spack_environment.sh /.singularity.d/env/91-environment.sh
echo "#!/usr/bin/env bash\n\nset -ef -o pipefail\nsource /opt/spack-env/z10_spack_environment.sh\nexec \"\$@\"" \
>/opt/spack-env/spack_docker_entrypoint.sh && chmod a+x /opt/spack-env/spack_docker_entrypoint.sh
>/opt/spack-env/spack_entrypoint.sh && chmod a+x /opt/spack-env/spack_entrypoint.sh
{{add_commands}}

%runscript
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ class DockerHelperTest extends Specification {
mkdir -p /.singularity.d/env
cp -p /opt/spack-env/z10_spack_environment.sh /.singularity.d/env/91-environment.sh
echo "#!/usr/bin/env bash\\n\\nset -ef -o pipefail\\nsource /opt/spack-env/z10_spack_environment.sh\\nexec \\"\\$@\\"" \\
>/opt/spack-env/spack_docker_entrypoint.sh && chmod a+x /opt/spack-env/spack_docker_entrypoint.sh
>/opt/spack-env/spack_entrypoint.sh && chmod a+x /opt/spack-env/spack_entrypoint.sh
USER hola
%runscript
Expand Down

1 comment on commit 5f51759

@pditommaso
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please keep this aligned with the docker version (even if the naming is inconsistent) otherwise, it will be a mess to maintain versions

Please sign in to comment.