Skip to content

Commit

Permalink
Adds base image, as Zulu will be upgraded less frequently than Kafka
Browse files Browse the repository at this point in the history
  • Loading branch information
solsson committed Jul 25, 2017
1 parent d7fd8c9 commit 0e48c4b
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions jre-zulu/Dockerfile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 0e48c4b

Please sign in to comment.