Skip to content
Snippets Groups Projects
Commit 7a5d980c authored by Jeremie Vandenplas's avatar Jeremie Vandenplas
Browse files

add ubuntu intel

parent 43276085
No related branches found
No related tags found
1 merge request!2add ubuntu intel
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
#!/bin/bash
# SPDX-FileCopyrightText: 2020 Intel Corporation
#
# SPDX-License-Identifier: MIT
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
echo "deb https://apt.repos.intel.com/oneapi all main" | tee /etc/apt/sources.list.d/oneAPI.list
apt-get update -o Dir::Etc::sourcelist="sources.list.d/oneAPI.list" -o APT::Get::List-Cleanup="0"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment