include workaround to using openjdk-8-jre-headless on slim images

#863199
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863199
This commit is contained in:
Hans-Christoph Steiner 2018-02-22 23:19:05 +01:00
parent 21cd8dd366
commit 792922b378
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@ ENV LANG=C.UTF-8 \
# 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 \
&& apt-get update \
&& apt-get -qy upgrade \
&& apt-get -qy dist-upgrade \