@@ -215,12 +215,11 @@ RUN /opt/conda/bin/python3 -m pip install --no-cache-dir \
215
215
tornado==6.1 \
216
216
pystan==3.0.1 \
217
217
pycairo==1.20.0 \
218
- numpy==1.20 .2 \
218
+ numpy==1.19 .2 \
219
219
tensorflow==2.3.2 \
220
220
tensorboard==2.3.0 \
221
- scipy==1.6 .3 \
221
+ scipy==1.5 .3 \
222
222
scikit-learn==0.24.2 \
223
- jupyter==1.0.0 \
224
223
typeguard==2.11.1 \
225
224
python-language-server[all] \
226
225
matplotlib==3.4.1
@@ -234,9 +233,29 @@ RUN /opt/conda/bin/python3 -m pip install --no-cache-dir --ignore-installed -r r
234
233
RUN jupyter nbextensions_configurator enable && \
235
234
jupyter contrib nbextension install && \
236
235
jupyter nbextension enable --py --sys-prefix widgetsnbextension && \
236
+ jupyter serverextension enable --py jupyterlab --sys-prefix && \
237
+ jupyter labextension install --no-build @jupyter-widgets/jupyterlab-manager && \
238
+ jupyter labextension install --no-build @krassowski/jupyterlab-lsp && \
237
239
jupyter serverextension enable --py jupyter_lsp && \
240
+ jupyter labextension install --no-build @jupyterlab/toc && \
238
241
jupyter nbextension enable execute_time/ExecuteTime && \
239
242
jupyter nbextension enable toc2/main
243
+ RUN jupyter labextension install \
244
+ @hokyjack/jupyterlab-monokai-plus \
245
+ @ryantam626/jupyterlab_code_formatter \
246
+ @jupyterlab/toc \
247
+ @axlair/jupyterlab_vim \
248
+ @pyviz/jupyterlab_pyviz && \
249
+ @bokeh/jupyter_bokeh && \
250
+ jupyter labextension install --no-build jupyterlab-nvdashboard && \
251
+ # jupyter serverextension enable --py jupyterlab_code_formatter && \
252
+ jupyter lab build --dev-build=False --minimize=False
253
+ WORKDIR /tmp
254
+ RUN wget https://linux.kite.com/dls/linux/current && \
255
+ chmod 777 current && \
256
+ sed -i 's/"--no-launch"//g' current > /dev/null && \
257
+ ./current --install ./kite-installer
258
+
240
259
241
260
# Copy Backend.Ai multi-node support
242
261
COPY ./runner-scripts/bootstrap.sh /opt/container/
@@ -249,7 +268,7 @@ Run /opt/conda/bin/python3 -m ipykernel install --display-name "Conda python 3.8
249
268
LABEL ai.backend.kernelspec="1" \
250
269
ai.backend.envs.corecount="OPENBLAS_NUM_THREADS,OMP_NUM_THREADS,NPROC" \
251
270
ai.backend.features="batch query uid-match user-input" \
252
- ai.backend.base-distro="ubuntu16.04 " \
271
+ ai.backend.base-distro="centos7.6 " \
253
272
ai.backend.resource.min.cpu="1" \
254
273
ai.backend.resource.min.mem="1g" \
255
274
ai.backend.resource.min.cuda.device=0 \
0 commit comments