@@ -19,22 +19,28 @@ USER root
19
19
20
20
# Install all OS dependencies for notebook server that starts but lacks all
21
21
# 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)
27
22
ENV DEBIAN_FRONTEND noninteractive
28
23
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)
29
26
apt-get upgrade --yes && \
30
27
apt-get install --yes --no-install-recommends \
31
- tini \
32
- wget \
33
28
ca-certificates \
34
- sudo \
35
- locales \
36
29
fonts-liberation \
37
- run-one && \
30
+ 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
33
+ 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
37
+ run-one \
38
+ 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.
42
+ tini \
43
+ wget && \
38
44
apt-get clean && rm -rf /var/lib/apt/lists/* && \
39
45
echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && \
40
46
locale-gen
0 commit comments