Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
containers
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Vandenplas, Jeremie
containers
Commits
7a5d980c
Commit
7a5d980c
authored
3 years ago
by
Jeremie Vandenplas
Browse files
Options
Downloads
Patches
Plain Diff
add ubuntu intel
parent
43276085
No related branches found
No related tags found
1 merge request
!2
add ubuntu intel
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docker/ubuntu_intel/Dockerfile
+24
-0
24 additions, 0 deletions
docker/ubuntu_intel/Dockerfile
docker/ubuntu_intel/setup_apt_repo_linux_no_sudo.sh
+10
-0
10 additions, 0 deletions
docker/ubuntu_intel/setup_apt_repo_linux_no_sudo.sh
with
34 additions
and
0 deletions
docker/ubuntu_intel/Dockerfile
0 → 100644
+
24
−
0
View file @
7a5d980c
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
This diff is collapsed.
Click to expand it.
docker/ubuntu_intel/setup_apt_repo_linux_no_sudo.sh
0 → 100755
+
10
−
0
View file @
7a5d980c
#!/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"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment