Skip to content
Snippets Groups Projects
Commit 50003b49 authored by Sylvester Joosten's avatar Sylvester Joosten
Browse files

Changed entrypoint in dockerfile to play nicer with CI

parent b8d937c9
No related branches found
No related tags found
1 merge request!2Release version for v2.0.0 container
......@@ -51,4 +51,5 @@ RUN find -L /opt/view/* -type f -exec readlink -f '{}' \; | \
RUN cd /opt/spack-environment && \
spack env activate --sh -d . >> /etc/profile.d/z10_spack_environment.sh
ENTRYPOINT ["/bin/bash", "--rcfile", "/etc/profile", "-l"]
ENTRYPOINT ["/bin/bash", "--rcfile", "/etc/profile", "-l", "-c"]
CMD ["bash"]
......@@ -26,4 +26,5 @@ COPY --from=builder /opt/view /opt/view
COPY --from=builder /etc/profile.d/z10_spack_environment.sh /etc/profile.d/z10_spack_environment.sh
COPY --from=builder /root/.bashrc /etc/bash.bashrc
ENTRYPOINT ["/bin/bash", "--rcfile", "/etc/profile", "-l"]
ENTRYPOINT ["/bin/bash", "--rcfile", "/etc/profile", "-l", "-c"]
CMD ["bash"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment