Skip to content
Snippets Groups Projects

add ubuntu intel

Merged Vandenplas, Jeremie requested to merge restruct into main
2 files
+ 34
0
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 24
0
 
FROM ubuntu:20.04
 
 
ENV LINUX_BASEKIT_URL: https://registrationcenter-download.intel.com/akdlm/irc_nas/18487/l_BaseKit_p_2022.1.2.146_offline.sh
 
ENV LINUX_HPCKIT_URL: https://registrationcenter-download.intel.com/akdlm/irc_nas/18479/l_HPCKit_p_2022.1.2.117_offline.sh
 
ENV LINUX_CPP_COMPONENTS='intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic'
 
ENV LINUX_FORTRAN_COMPONENTS='intel-oneapi-compiler-fortran'
 
ENV LINUX_MKL_COMPONENTS='intel-oneapi-mkl'
 
ENV LINUX_MKL1_COMPONENTS='intel-oneapi-mkl-devel'
 
ENV LINUX_DPCPP_COMPONENTS='intel-oneapi-compiler-dpcpp-cpp'
 
ENV LINUX_CPP_COMPONENTS_WEB='intel.oneapi.lin.dpcpp-cpp-compiler-pro'
 
ENV LINUX_FORTRAN_COMPONENTS_WEB='intel.oneapi.lin.ifort-compiler'
 
ENV LINUX_DPCPP_COMPONENTS_WEB='intel.oneapi.lin.dpcpp-cpp-compiler'
 
ENV LINUX_APT_DNF_CACHE_NUMBER='7'
 
ENV SAMPLES_TAG='2022.1.0'
 
ENV COMPILER_VERSION: 2022.0.3
 
 
RUN apt-get update && DEBIAN_FRONTEND=noninteractive TZ=Europe/Paris apt-get install -y wget build-essential pkg-config cmake ca-certificates gnupg git python3-pip
 
RUN pip install --upgrade fypp
 
COPY setup_apt_repo_linux_no_sudo.sh /
 
RUN /setup_apt_repo_linux_no_sudo.sh && apt-get install -y $LINUX_FORTRAN_COMPONENTS $LINUX_CPP_COMPONENTS $LINUX_MKL_COMPONENTS $LINUX_MKL1_COMPONENTS
 
RUN apt-get clean all
 
SHELL ["/bin/bash", "-c"]
 
RUN source /opt/intel/oneapi/setvars.sh
 
Loading