diff --git a/Dockerfile b/Dockerfile index 386d588..ac7224b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,10 +5,8 @@ ENV LANG=C.UTF-8 \ DEBIAN_FRONTEND=noninteractive # install the minimum needed for a standard git-buildpackage build -# that includes pristine-tar. This also does not install -# documentation to keep the image small. -RUN printf "path-exclude=/usr/share/locale/*\npath-exclude=/usr/share/man/*\npath-exclude=/usr/share/doc/*\npath-include=/usr/share/doc/*/copyright\n" >/etc/dpkg/dpkg.cfg.d/01_nodoc \ - && mkdir -p /usr/share/man/man1 \ +# that includes pristine-tar. update-alternatives needs ../man1/ +RUN mkdir -p /usr/share/man/man1 \ && apt-get update \ && apt-get -qy upgrade \ && apt-get -qy dist-upgrade \