@@ -15,34 +15,46 @@ ENV DEBIAN_FRONTEND=noninteractive \
15
15
LANG=C.UTF-8
16
16
17
17
RUN apt-get update && \
18
- apt-get install -y \
19
- libsm6 libxext6 libxrender-dev mercurial libopenblas-dev libgdal-dev \
20
- openjdk-8-jdk \
21
- libasound2-dev \
18
+ apt-get install -y --no-install-recommends \
19
+ automake \
20
+ fonts-nanum \
21
+ fonts-nanum-coding \
22
+ fonts-nanum-extra \
22
23
gfortran \
23
- libgstreamer1.0-dev \
24
- libgstreamer-plugins-base1.0-dev \
25
- libgtk-3-dev \
26
- libtbb-dev \
24
+ htop \
25
+ libasound2-dev \
27
26
libatlas-base-dev \
27
+ libavresample-dev \
28
28
libdc1394-22-dev \
29
- libxvidcore -dev \
29
+ libeigen3 -dev \
30
30
libfaac-dev \
31
+ libgdal-dev \
32
+ libgflags-dev \
33
+ libgoogle-glog-dev \
34
+ libgphoto2-dev \
35
+ libgstreamer-plugins-base1.0-dev \
36
+ libgstreamer1.0-dev \
37
+ libgtk-3-dev \
38
+ libhdf5-dev \
31
39
libmp3lame-dev \
40
+ libopenblas-dev \
41
+ libopencore-amrnb-dev \
42
+ libopencore-amrwb-dev \
43
+ libprotobuf-dev \
32
44
libtheora-dev \
33
45
libvorbis-dev \
34
- libxvidcore-dev \
35
- libopencore-amrnb-dev libopencore-amrwb-dev \
36
- libavresample-dev \
37
- x264 \
38
46
libx264-dev \
47
+ libxext6 \
48
+ libxrender-dev \
49
+ libxvidcore-dev \
50
+ mercurial \
51
+ ncurses-term \
52
+ protobuf-compiler \
39
53
v4l-utils \
40
- libprotobuf-dev protobuf-compiler \
41
- libgoogle-glog-dev libgflags-dev \
42
- libgphoto2-dev \
43
- libeigen3-dev \
44
- libhdf5-dev \
45
- automake
54
+ x264 \
55
+ openjdk-8-jdk \
56
+ libsm6 \
57
+ libtbb-dev
46
58
47
59
48
60
RUN update-alternatives --install /opt/conda/bin/python python /opt/conda/bin/python3 2
@@ -88,7 +100,7 @@ RUN ln -s /usr/include/libv4l1-videodev.h /usr/include/linux/videodev.h && \
88
100
-D BUILD_opencv_java=OFF \
89
101
-D WITH_CUDA=ON \
90
102
-D CUDA_NVCC_FLAGS=--expt-relaxed-constexpr \
91
- -D CUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-11.1 \
103
+ -D CUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-11.2 \
92
104
-D ENABLE_FAST_MATH=1 \
93
105
-D CUDA_FAST_MATH=1 \
94
106
-D WITH_CUBLAS=1 \
@@ -165,10 +177,15 @@ RUN curl -sLO https://github.com/git-lfs/git-lfs/releases/download/v2.13.3/git-l
165
177
bash install.sh && \
166
178
rm -rf /tmp/*
167
179
168
- COPY ./service-defs /etc/backend.ai/service-defs
180
+ WORKDIR /tmp
181
+ RUN git clone https://github.com/aristocratos/bashtop.git && \
182
+ cd bashtop && \
183
+ make install
184
+
169
185
RUN curl -fL https://github.com/cdr/code-server/releases/download/v3.9.3/code-server-3.9.3-linux-amd64.tar.gz | tar -C /usr/local/lib -xz && \
170
186
mv /usr/local/lib/code-server-3.9.3-linux-amd64 /usr/local/lib/code-server-3.9.3 && \
171
187
ln -s /usr/local/lib/code-server-3.9.3/bin/code-server /usr/local/bin/code-server
188
+
172
189
# Install Open MPI
173
190
RUN mkdir /tmp/openmpi && \
174
191
cd /tmp/openmpi && \
@@ -198,7 +215,7 @@ RUN ldconfig /usr/local/cuda/targets/x86_64-linux/lib/stubs && \
198
215
199
216
RUN python3 -m pip install --no-cache-dir \
200
217
mpi4py==3.0.3 \
201
- nni==2.0 \
218
+ nni==2.1 \
202
219
mlflow==1.15.0 \
203
220
scikit-nni==0.1.1
204
221
@@ -218,6 +235,7 @@ RUN jupyter nbextensions_configurator enable && \
218
235
219
236
RUN apt autoclean && \
220
237
sed -i 's/source \/ usr\/ local\/ nvm\/ nvm.sh//' /etc/bash.bashrc && \
238
+ ln -sf /usr/share/terminfo/x/xterm-color /usr/share/terminfo/x/xterm-256color && \
221
239
rm -rf /var/lib/apt/lists/* && \
222
240
rm -rf /root/.cache && \
223
241
rm -rf /tmp/*
0 commit comments