Files
docker-stacks/docs/using/recipe_code/manpage_install.dockerfile
Ayaz Salikhov 102f5a6325 Build contributed recipes in PRs (#2212)
* Build contributed recipes in PRs

* Fix GitHub matrix
2025-02-17 15:25:44 +00:00

18 lines
616 B
Docker

ARG BASE_IMAGE=quay.io/jupyter/base-notebook
FROM $BASE_IMAGE
# 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}