Skip to content

Commit

Permalink
Reinstall coreutils to get man pages.
Browse files Browse the repository at this point in the history
This ensures that man pages for basic tools exist. There were previously being excluded by dpkg.
  • Loading branch information
ryanlovett committed Aug 8, 2024
1 parent 12cec7a commit 684412d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion deployments/datahub/images/default/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ RUN apt-get -qq update --yes && \
RUN adduser --disabled-password --gecos "Default Jupyter user" ${NB_USER}

# Do not exclude manpages from being installed.
RUN sed -i -e '/usr.share.man/s/^/#/' /etc/dpkg/dpkg.cfg.d/excludes
RUN sed -i '/usr.share.man/s/^/#/' /etc/dpkg/dpkg.cfg.d/excludes

# Reinstall coreutils so that basic man pages are installed. Due to dpkg's
# exclusion, they were not originally installed.
RUN apt --reinstall install coreutils

# Install all apt packages
COPY apt.txt /tmp/apt.txt
Expand Down

0 comments on commit 684412d

Please sign in to comment.