Skip to content

Commit 1cfb0bc

Browse files
committed
Intel distributed Python 3.6, ver 19.4
1 parent d8eb81a commit 1cfb0bc

File tree

1 file changed

+27
-7
lines changed

1 file changed

+27
-7
lines changed

vendor/intel-python/Dockerfile.19.4-py36

Lines changed: 27 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,30 @@ RUN apt update -y && \
66
apt install -y --no-install-recommends \
77
apt-transport-https \
88
ca-certificates \
9-
curl \
9+
gcc g++ make \
10+
gfortran \
11+
vim \
12+
cmake \
13+
yasm \
14+
graphviz \
15+
pkg-config \
16+
xz-utils \
17+
wget curl git-core \
18+
vim-tiny bzip2 zip unzip \
19+
libssl-dev \
20+
libmpdec2 \
21+
proj-bin libproj-dev \
22+
libgeos-dev libgeos++-dev \
23+
mime-support \
24+
libpq-dev \
25+
libtiff-dev \
26+
libjpeg-dev \
27+
libpng-dev \
28+
libavcodec-dev \
29+
libavformat-dev \
30+
libswscale-dev \
31+
libxine2-dev \
32+
libv4l-dev \
1033
git \
1134
vim \
1235
wget \
@@ -17,8 +40,6 @@ WORKDIR /usr/local
1740

1841
RUN conda config --add channels intel && \
1942
conda install -y -q intelpython3_full=2019.4 python=3 && \
20-
conda install -c anaconda tensorflow-mkl==1.13.1 && \
21-
conda install -c anaconda tensorboard && \
2243
conda install -c anaconda opencv && \
2344
conda install -c conda-forge pycocotools && \
2445
conda install -c conda-forge nodejs && \
@@ -31,8 +52,6 @@ RUN conda config --add channels intel && \
3152
rm -rf /root/.cache && \
3253
rm -f /tmp/*.whl
3354

34-
COPY policy.yml /etc/backend.ai/jail/policy.yml
35-
3655
ENV PYTHONUNBUFFERED=1 \
3756
LIBRARY_PATH="/opt/conda/lib/libfabric" \
3857
PATH="/opt/conda/bin/libfabric:/opt/conda/bin:/opt/conda/condabin:/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" \
@@ -68,6 +87,8 @@ RUN jupyter nbextensions_configurator enable && \
6887
RUN python3 -m ipykernel install --display-name "Intel Python 3.6 on Backend.AI" && \
6988
cat /opt/conda/share/jupyter/kernels/python3/kernel.json
7089

90+
COPY policy.yml /etc/backend.ai/jail/policy.yml
91+
7192
# Backend.AI specifics
7293
LABEL ai.backend.kernelspec="1" \
7394
ai.backend.envs.corecount="OPENBLAS_NUM_THREADS,OMP_NUM_THREADS,NPROC" \
@@ -77,8 +98,7 @@ LABEL ai.backend.kernelspec="1" \
7798
ai.backend.base-distro="ubuntu16.04" \
7899
ai.backend.runtime-type="python" \
79100
ai.backend.runtime-path="/opt/conda/bin/python3" \
80-
ai.backend.service-ports="ipython:pty:3000,tensorboard:http:6006,jupyter:http:8080,jupyterlab:http:8090"
81-
101+
ai.backend.service-ports="ipython:pty:3000,jupyter:http:8080,jupyterlab:http:8090"
82102

83103
WORKDIR /home/work
84104
# vim: ft=dockerfile

0 commit comments

Comments
 (0)