Skip to content

Commit 37af03c

Browse files
author
Ayaz Salikhov
committed
More inline docs
1 parent 40df353 commit 37af03c

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

base-notebook/Dockerfile

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,26 @@ USER root
1919

2020
# Install all OS dependencies for notebook server that starts but lacks all
2121
# features (e.g., download as all possible file formats)
22-
# - tini is installed as a helpful container entrypoint that reaps zombie
23-
# processes and such of the actual executable we want to start, see
24-
# https://github.com/krallin/tini#why-tini for details.
25-
# - apt-get upgrade is run to patch known vulnerabilities in apt-get packages as
26-
# the ubuntu base image is rebuilt too seldom sometimes (less than once a month)
2722
ENV DEBIAN_FRONTEND noninteractive
2823
RUN apt-get update --yes && \
24+
# - apt-get upgrade is run to patch known vulnerabilities in apt-get packages as
25+
# the ubuntu base image is rebuilt too seldom sometimes (less than once a month)
2926
apt-get upgrade --yes && \
3027
apt-get install --yes --no-install-recommends \
3128
ca-certificates \
3229
fonts-liberation \
3330
locales \
31+
# - pandoc is used to convert notebooks to html files
32+
# it's not present in arm64 ubuntu image, so we install it here
3433
pandoc \
34+
# - run-one - a wrapper script that runs no more
35+
# than one unique instance of some command with a unique set of arguments,
36+
# we use `run-one-constantly` to support `RESTARTABLE` option
3537
run-one \
3638
sudo \
39+
# - tini is installed as a helpful container entrypoint that reaps zombie
40+
# processes and such of the actual executable we want to start, see
41+
# https://github.com/krallin/tini#why-tini for details.
3742
tini \
3843
wget && \
3944
apt-get clean && rm -rf /var/lib/apt/lists/* && \

0 commit comments

Comments
 (0)