Skip to content
This repository was archived by the owner on Jan 6, 2021. It is now read-only.

Commit 63ce8d0

Browse files
authored
Update Dockerfile
apt-getの後のキャッシュ削除を改善
1 parent b10db32 commit 63ce8d0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
1414
&& apt-get purge -y \
1515
nodejs \
1616
npm \
17-
&& apt-get clean \
18-
&& rm -rf /var/lib/apt/lists/*
17+
&& apt-get -y autoremove \
18+
&& apt-get -y clean \
19+
&& rm -rf /var/lib/apt/lists* /var/tmp/* /tmp/*
1920

2021
# Install Jupyter Lab
2122
RUN pip install jupyterlab

0 commit comments

Comments
 (0)