Skip to content

Commit 7fa42c1

Browse files
committed
Add jupyter-tensorboard
1 parent d75fd7d commit 7fa42c1

File tree

2 files changed

+16
-10
lines changed

2 files changed

+16
-10
lines changed

docker/tf1.15.4-cuda10/Dockerfile

+8-5
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,8 @@ RUN apt-get -qq update \
2424
&& apt-get -qq clean \
2525
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
2626

27-
RUN pip --no-cache-dir install -q --upgrade \
28-
pip \
29-
setuptools \
30-
wheel
27+
RUN pip --no-cache-dir install -q --upgrade pip setuptools wheel
28+
3129
RUN pip --no-cache-dir --use-feature=2020-resolver install -q --upgrade \
3230
h5py \
3331
jupyterlab \
@@ -40,7 +38,12 @@ RUN pip --no-cache-dir --use-feature=2020-resolver install -q --upgrade \
4038
pyyaml \
4139
scikit-learn \
4240
scikit-image \
43-
seaborn
41+
seaborn \
42+
tornado
43+
44+
# jupyter-tensorboard need tornado first
45+
RUN pip --no-cache-dir install -q --upgrade --use-feature=2020-resolver \
46+
jupyter-tensorboard
4447

4548
# Set up our notebook config.
4649
COPY jupyter_notebook_config.py /root/.jupyter/

docker/tf1.15.4/Dockerfile

+8-5
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,8 @@ RUN apt-get -qq update \
2424
&& apt-get -qq clean \
2525
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
2626

27-
RUN pip --no-cache-dir install -q --upgrade \
28-
pip \
29-
setuptools \
30-
wheel
27+
RUN pip --no-cache-dir install -q --upgrade pip setuptools wheel
28+
3129
RUN pip --no-cache-dir --use-feature=2020-resolver install -q --upgrade \
3230
h5py \
3331
jupyterlab \
@@ -40,7 +38,12 @@ RUN pip --no-cache-dir --use-feature=2020-resolver install -q --upgrade \
4038
pyyaml \
4139
scikit-learn \
4240
scikit-image \
43-
seaborn
41+
seaborn \
42+
tornado
43+
44+
# jupyter-tensorboard need tornado first
45+
RUN pip --no-cache-dir install -q --upgrade --use-feature=2020-resolver \
46+
jupyter-tensorboard
4447

4548
# Set up our notebook config.
4649
COPY jupyter_notebook_config.py /root/.jupyter/

0 commit comments

Comments
 (0)