Public | Automated Build

Last pushed: 3 months ago
Short Description
alpine oracle jdk 8
Full Description

OracleJDK 8 Docker image

This image is based on Alpine Linux image, which is only a 5MB image, and contains
Oracle JDK version 8u74_b02.

Usage Example

$ echo 'public class Main { public static void main(String[] args) { System.out.println("Hello World"); } }' >
$ docker run --rm -v "$(pwd)":/mnt --workdir /mnt sh -c "javac && java Main"

Once you have run this command you will get printed 'Hello World' from Java running in the container!

The main reason for its existence however, is to be the base image for java applications (see also

Docker Pull Command
Source Repository