mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-07 10:04:03 +00:00
17 lines
581 B
Docker
17 lines
581 B
Docker
FROM jupyter/base-notebook
|
|
|
|
# Fix: https://github.com/hadolint/hadolint/wiki/DL4006
|
|
# Fix: https://github.com/koalaman/shellcheck/wiki/SC3014
|
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
|
|
|
USER root
|
|
|
|
# `/etc/dpkg/dpkg.cfg.d/excludes` contains several `path-exclude`s, including man pages
|
|
# Remove it, then install man, install docs
|
|
RUN rm /etc/dpkg/dpkg.cfg.d/excludes && \
|
|
apt-get update --yes && \
|
|
dpkg -l | grep ^ii | cut -d' ' -f3 | xargs apt-get install --yes --no-install-recommends --reinstall man && \
|
|
apt-get clean && rm -rf /var/lib/apt/lists/*
|
|
|
|
USER ${NB_UID}
|