File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM debian:stable-20170620
2+
3+ ENV ZULU_OPENJDK_VERSION="8=8.21.0.1"
4+
5+ RUN set -ex; \
6+ runDeps='' ; \
7+ buildDeps='gnupg dirmngr' ; \
8+ apt-get update && apt-get install -y $runDeps $buildDeps --no-install-recommends; \
9+ \
10+ apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0x219BD9C9; \
11+ echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list; \
12+ apt-get update && apt-get install -y zulu-${ZULU_OPENJDK_VERSION} --no-install-recommends; \
13+ \
14+ cd /usr/lib/jvm/zulu-8-amd64/; \
15+ rm -rf demo man sample src.zip; \
16+ \
17+ apt-get purge -y --auto-remove $buildDeps; \
18+ rm -rf /var/lib/apt/lists/*; \
19+ rm -rf /var/log/dpkg.log /var/log/alternatives.log /var/log/apt
You can’t perform that action at this time.
0 commit comments