@@ -6,7 +6,30 @@ RUN apt update -y && \
6
6
apt install -y --no-install-recommends \
7
7
apt-transport-https \
8
8
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 \
10
33
git \
11
34
vim \
12
35
wget \
@@ -17,8 +40,6 @@ WORKDIR /usr/local
17
40
18
41
RUN conda config --add channels intel && \
19
42
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 && \
22
43
conda install -c anaconda opencv && \
23
44
conda install -c conda-forge pycocotools && \
24
45
conda install -c conda-forge nodejs && \
@@ -31,8 +52,6 @@ RUN conda config --add channels intel && \
31
52
rm -rf /root/.cache && \
32
53
rm -f /tmp/*.whl
33
54
34
- COPY policy.yml /etc/backend.ai/jail/policy.yml
35
-
36
55
ENV PYTHONUNBUFFERED=1 \
37
56
LIBRARY_PATH="/opt/conda/lib/libfabric" \
38
57
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 && \
68
87
RUN python3 -m ipykernel install --display-name "Intel Python 3.6 on Backend.AI" && \
69
88
cat /opt/conda/share/jupyter/kernels/python3/kernel.json
70
89
90
+ COPY policy.yml /etc/backend.ai/jail/policy.yml
91
+
71
92
# Backend.AI specifics
72
93
LABEL ai.backend.kernelspec="1" \
73
94
ai.backend.envs.corecount="OPENBLAS_NUM_THREADS,OMP_NUM_THREADS,NPROC" \
@@ -77,8 +98,7 @@ LABEL ai.backend.kernelspec="1" \
77
98
ai.backend.base-distro="ubuntu16.04" \
78
99
ai.backend.runtime-type="python" \
79
100
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"
82
102
83
103
WORKDIR /home/work
84
104
# vim: ft=dockerfile
0 commit comments