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

Merge branch 'specs' into 'main'

progress

See merge request !5
parents de5978b1 262a6286
Branches
No related tags found
1 merge request!5progress
FROM ubuntu:20.04
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'
RUN apt-get update && DEBIAN_FRONTEND=noninteractive TZ=Europe/Paris apt-get install -y apt-utils wget build-essential pkg-config cmake ca-certificates gnupg git python3-pip openssh-client
RUN pip install --upgrade fypp
COPY setup_apt_repo_linux_no_sudo.sh /
RUN /setup_apt_repo_linux_no_sudo.sh
RUN apt-get install -y ${LINUX_FORTRAN_COMPONENTS}=2022.1.0-3768 ${LINUX_CPP_COMPONENTS}=2022.1.0-3768 ${LINUX_MKL_COMPONENTS}=2022.1.0-223 ${LINUX_MKL1_COMPONENTS}=2022.1.0-223
RUN apt-get clean all
SHELL ["/bin/bash", "-c"]
RUN source /opt/intel/oneapi/setvars.sh
# Instruction to build and push the container on WUR Gitlab
```shell
sudo docker login docker-registry.wur.nl
sudo docker build -t docker-registry.wur.nl/vande018/containers:ubuntu20_04_intel_specs .
sudo docker push docker-registry.wur.nl/vande018/containers:ubuntu20_04_intel_specs
```
intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic/all 2022.2.0-8734 amd64
intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic/all 2022.1.0-3768 amd64
intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic/all 2022.0.2-3658 amd64
intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic/all 2022.0.1-3633 amd64
intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic/all 2021.4.0-3561 amd64
intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic/all 2021.3.0-3350 amd64
intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic/all 2021.2.0-610 amd64
intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic/all 2021.1.2-266 amd64
intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic/all 2021.1.1-189 amd64
intel-oneapi-compiler-fortran/all 2022.2.0-8734 amd64
intel-oneapi-compiler-fortran/all 2022.1.0-3768 amd64
intel-oneapi-compiler-fortran/all 2022.0.2-3658 amd64
intel-oneapi-compiler-fortran/all 2022.0.1-3633 amd64
intel-oneapi-compiler-fortran/all 2021.4.0-3561 amd64
intel-oneapi-compiler-fortran/all 2021.3.0-3350 amd64
intel-oneapi-compiler-fortran/all 2021.2.0-610 amd64
intel-oneapi-compiler-fortran/all 2021.1.2-266 amd64
intel-oneapi-compiler-fortran/all 2021.1.1-189 amd64
intel-oneapi-mkl-devel/all 2022.2.0-8748 amd64
intel-oneapi-mkl-devel/all 2022.1.0-223 amd64
intel-oneapi-mkl-devel/all 2022.0.2-136 amd64
intel-oneapi-mkl-devel/all 2022.0.1-117 amd64
intel-oneapi-mkl-devel/all 2021.4.0-640 amd64
intel-oneapi-mkl-devel/all 2021.3.0-520 amd64
intel-oneapi-mkl-devel/all 2021.2.0-296 amd64
intel-oneapi-mkl-devel/all 2021.1.1-52 amd64
intel-oneapi-mkl/all 2022.2.0-8748 amd64
intel-oneapi-mkl/all 2022.1.0-223 amd64
intel-oneapi-mkl/all 2022.0.2-136 amd64
intel-oneapi-mkl/all 2022.0.1-117 amd64
intel-oneapi-mkl/all 2021.4.0-640 amd64
intel-oneapi-mkl/all 2021.3.0-520 amd64
intel-oneapi-mkl/all 2021.2.0-296 amd64
intel-oneapi-mkl/all 2021.1.1-52 amd64
#!/bin/bash
# download the key to system keyring
wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB \
| gpg --dearmor | tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null
# add signed entry to apt sources and configure the APT client to use Intel repository:
echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | tee /etc/apt/sources.list.d/oneAPI.list
apt-get update
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment