Closed thomas-robinson closed 1 year ago
Hello @thomas-robinson ,
Please find the latest OneAPI images (no entrypoint used in any oneapi container image, switch to ENV
to avoid the scenario RUN . /opt/intel/oneapi/setvars.sh
that you had to do), so please feel free to proceed performing FROM intel/oneapi-hpckit:2022.1.1-devel-ubuntu18.04 as builder
Kind regards
If you are basing an image of the official oneAPI images, the environment is already setup so sourcing setvars.sh
should not be needed.
Closing this issue, please reopen if you still have questions!
I am building a docker container, and the compilers aren't loading by default. I have to source the
setvars.sh
to get it to work. Here is a snippet of my dockerfileThis crashes when I try to build it. If I add
. /opt/intel/oneapi/setvars.sh \
to the last run lineThen is builds. Is this the expected default behavior? Is there a way to enable the compilers by default?