Skip to content

Commit c1f0cfb

Browse files
committed
base docker on Intel MKL 2020.3
1 parent a2f5510 commit c1f0cfb

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

commons/Dockerfile.intel.20.09-py3

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
FROM ubuntu:18.04
2+
MAINTAINER Mario Cho "[email protected]"
3+
4+
ENV MKL_VERSION=2020.03
5+
ENV MKL_BUILD=279
6+
ENV NUMPY_VERSION 1.16.4
7+
ENV SCIPY_VERSION 1.2.2
8+
ENV LANG C.UTF-8
9+
10+
WORKDIR /tmp
11+
12+
# prepare
13+
RUN apt update -y && \
14+
apt install -y --no-install-recommends \
15+
apt-transport-https \
16+
ca-certificates \
17+
curl \
18+
wget \
19+
gnupg2 \
20+
libexpat-dev
21+
22+
# install Intel distribute Python 3.6
23+
WORKDIR /tmp
24+
RUN mkdir -p /opt/intel/lib && \
25+
curl -fsSL https://anaconda.org/intel/mkl-static/${MKL_VERSION}/download/linux-64/mkl-static-${MKL_VERSION}-intel_${MKL_BUILD}.tar.bz2 | tar xjv && \
26+
mv lib/* /opt/intel/lib/ && \
27+
curl -fsSL https://anaconda.org/intel/mkl-include/${MKL_VERSION}/download/linux-64/mkl-include-${MKL_VERSION}-intel_${MKL_BUILD}.tar.bz2 | tar xjv && \
28+
mv include /opt/intel/
29+
30+
31+

0 commit comments

Comments
 (0)