Project information on the project site.
The docker-squash tool can be used to squash images after being built, eliminating intermediate layers. I leave the squashing to you if you want to do it.
Note: The Zulu Embedded JRE compact3 profile build supplied to me by Azul Systems is managed in this repository to improve the image size (wget && tar && rm
is generally smaller than COPY
).
docker build -t delitescere/jdk jdk
docker build -t delitescere/java jre
TODO: Automate tagging with Java versions
docker run --rm -ti delitescere/java:8 sh -c 'java $JAVA_OPTS -XshowSettings -version'
See the LICENSE file.
Enjoy smaller containers!