diff --git a/jre-zulu/Dockerfile b/jre-zulu/Dockerfile new file mode 100644 index 0000000..fadfe0f --- /dev/null +++ b/jre-zulu/Dockerfile @@ -0,0 +1,19 @@ +FROM debian:stable-20170620 + +ENV ZULU_OPENJDK_VERSION="8=8.21.0.1" + +RUN set -ex; \ + runDeps=''; \ + buildDeps='gnupg dirmngr'; \ + apt-get update && apt-get install -y $runDeps $buildDeps --no-install-recommends; \ + \ + apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0x219BD9C9; \ + echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list; \ + apt-get update && apt-get install -y zulu-${ZULU_OPENJDK_VERSION} --no-install-recommends; \ + \ + cd /usr/lib/jvm/zulu-8-amd64/; \ + rm -rf demo man sample src.zip; \ + \ + apt-get purge -y --auto-remove $buildDeps; \ + rm -rf /var/lib/apt/lists/*; \ + rm -rf /var/log/dpkg.log /var/log/alternatives.log /var/log/apt