diff --git a/deployments/datahub/images/default/Dockerfile b/deployments/datahub/images/default/Dockerfile index 5c5faf14e..49062d34d 100644 --- a/deployments/datahub/images/default/Dockerfile +++ b/deployments/datahub/images/default/Dockerfile @@ -21,6 +21,9 @@ 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 + # Install all apt packages COPY apt.txt /tmp/apt.txt RUN apt-get -qq update --yes && \ @@ -30,9 +33,6 @@ RUN apt-get -qq update --yes && \ apt-get -qq clean && \ rm -rf /var/lib/apt/lists/* -# Do not exclude manpages from being installed. -RUN sed -i -e '/usr.share.man/s/^/#/' /etc/dpkg/dpkg.cfg.d/exclude - # From docker-ce-packaging # Remove diverted man binary to prevent man-pages being replaced with "minimized" message. See docker/for-linux#639 RUN if [ "$(dpkg-divert --truename /usr/bin/man)" = "/usr/bin/man.REAL" ]; then \