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

Test fix 6.9

Source setvars.sh from /etc/profile while using bash login shell.
parent b79c5b60
No related branches found
No related tags found
1 merge request!306OneAPI Integration Testing
...@@ -319,15 +319,14 @@ ARG AFTERBURNER_VERSION=main ...@@ -319,15 +319,14 @@ ARG AFTERBURNER_VERSION=main
RUN echo "" >> /etc/jug_info \ RUN echo "" >> /etc/jug_info \
&& echo " - jug_dev: ${JUG_VERSION}" >> /etc/jug_info && echo " - jug_dev: ${JUG_VERSION}" >> /etc/jug_info
## make entrypoint executable ## make entrypoint executable and set up oneAPI environment
RUN chmod +x /usr/local/sbin/entrypoint.sh RUN chmod +x /usr/local/sbin/entrypoint.sh \
&& echo "source /opt/intel/oneapi/setvars.sh --force 2> /dev/null" \
>> /etc/profile
## make sure we have the entrypoints setup correctly ## make sure we have the entrypoints setup correctly
ENTRYPOINT ["/usr/local/sbin/entrypoint.sh"] 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 USER 0
WORKDIR / WORKDIR /
SHELL ["/usr/local/bin/eic-shell"] SHELL ["/usr/local/bin/eic-shell"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment