Skip to content

Commit

Permalink
use nvidia docker
Browse files Browse the repository at this point in the history
  • Loading branch information
guoqiang1 committed Feb 18, 2021
1 parent e0d4dc8 commit a9f6795
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:experimental
# FROM ubuntu:16.04
FROM nvidia/cuda:11.2.0-base-ubuntu16.04
FROM nvidia/cuda:11.2.0-devel-ubuntu16.04

ARG DEBIAN_FRONTEND=noninteractive
ENV TERM=xterm-256color
Expand Down Expand Up @@ -30,6 +30,7 @@ RUN apt update && apt install -y --no-install-recommends \
iputils-ping \
less \
libboost-dev \
libcurl4-openssl-dev \
libeigen3-dev \
libevent-dev \
libgl1-mesa-glx \
Expand Down Expand Up @@ -121,7 +122,7 @@ RUN pip3 install \
cmake \
ipdb \
ipympl \
jupyterlab==2 \
jupyterlab==2.2.9 \
matplotlib \
numpy \
opencv-python \
Expand All @@ -135,10 +136,10 @@ RUN pip3 install \
qgrid && \
jupyter nbextension enable --py --sys-prefix widgetsnbextension && \
jupyter nbextension enable --py --sys-prefix qgrid && \
jupyter labextension install qgrid2 --no-build && \
jupyter labextension install [email protected] --no-build && \
jupyter labextension install @jupyter-widgets/[email protected] --no-build && \
jupyter labextension install plotlywidget@4.14.3 --no-build && \
jupyter lab build
jupyter labextension install @jupyter-widgets/[email protected] && \
jupyter labextension install jupyter-matplotlib && \
jupyter labextension install qgrid2 && \
jupyter labextension install jupyterlab-plotly@4.14.3 && \
jupyter labextension install [email protected]

RUN npm install --global http-server

0 comments on commit a9f6795

Please sign in to comment.