Warning - This image is currently in hiatus, as the base Busybox image cannot run its package manager any more, so I cannot publish any updates. So please use jeanblanchard/java instead, which is based on Alpine Linux, and is almost as small.
Basic Docker image to run Java applications. This is based off Busybox to keep the size minimal (about 25% of an ubuntu-based image).
latest
or8
: Oracle Java 8 (Server JRE)7
: Oracle Java 7 (Server JRE)jdk8
: Oracle Java 8 (JDK)jdk7
: Oracle Java 7 (JDK)
Example:
docker run -it --rm jeanblanchard/busybox-java:8 java -version