Skip to content
Snippets Groups Projects
Commit b79c5b60 authored by Ujwal Kundur's avatar Ujwal Kundur
Browse files

Test fix 6.8

Source setvars.sh while invoking bash login shell
parent 89ed68b5
No related branches found
No related tags found
1 merge request!306OneAPI Integration Testing
......@@ -215,7 +215,7 @@ RUN spack debug report \
COPY eic-shell /usr/local/bin/eic-shell
COPY eic-info /usr/local/bin/eic-info
COPY oneentrypoint.sh /usr/local/sbin/entrypoint.sh
COPY entrypoint.sh /usr/local/sbin/entrypoint.sh
COPY eic-env.sh /etc/eic-env.sh
COPY profile.d/a00_cleanup.sh /etc/profile.d
COPY profile.d/z11_jug_env.sh /etc/profile.d
......@@ -324,7 +324,10 @@ RUN chmod +x /usr/local/sbin/entrypoint.sh
## make sure we have the entrypoints setup correctly
ENTRYPOINT ["/usr/local/sbin/entrypoint.sh"]
CMD ["bash", "--rcfile", "/etc/profile", "-l"]
## set up oneAPI environment while using login (-l) shell
CMD ["bash", "--rcfile", "/etc/profile", "-l", "-c", \
"source /opt/intel/oneapi/setvars.sh --force 2> /dev/null"]
USER 0
WORKDIR /
SHELL ["/usr/local/bin/eic-shell"]
#!/usr/bin/env bash
## Force environment to be clean
. /etc/eic-env.sh
## Source OneAPI environment
. /opt/intel/oneapi/setvars.sh --force 2> /dev/null
exec "$@"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment