-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathicc-18.03.dockerfile
40 lines (31 loc) · 1.01 KB
/
icc-18.03.dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# ARG http_proxy=http://wwwproxy.sandia.gov:80/
# ARG https_proxy=http://wwwproxy.sandia.gov:80/
ARG arch=amd64
FROM ubuntu:18.04
ENV DEBIAN_FRONTEND=noninteractive
RUN mkdir intel
COPY COM____DDW8-CKHSP7GN.lic intel
COPY silent.cfg intel
RUN apt-get update -y -q
RUN apt-get install -y -q --no-install-recommends \
less \
gcc \
g++ \
wget \
cpio
RUN cd intel && \
wget http://registrationcenter-download.intel.com/akdlm/irc_nas/13398/system_studio_2018_update_2_ultimate_edition.tar.gz && \
tar xzf system_studio_2018_update_2_ultimate_edition.tar.gz && \
rm system_studio_2018_update_2_ultimate_edition.tar.gz && \
cd system_studio_2018* && \
cp ../silent.cfg . && \
./install.sh -s silent.cfg && \
cd ../../ && \
rm -rf intel && \
rm -rf /tmp/*
RUN ln -s \
/opt/intel/system_studio_2018 \
/opt/intel/install
RUN ln -s \
/opt/intel/system_studio_2018/compilers_and_libraries_2018.4.253/linux/compiler/lib/intel64_lin/ \
/opt/intel/ld_library_path