Public Repository

Last pushed: 2 years ago
Short Description
The smallest Docker image with OracleJDK 7
Full Description

OracleJDK 7 Docker image

This image is based on Alpine Linux image, which is only a 5MB image, and contains
OracleJDK 7.

Consider using develar/java image (~120MB) if you only need JRE (you can run
java applications, but cannot build/compile them).

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 frolvlad/alpine-oraclejdk7:slim sh -c "javac && java Main"

Once you have run this command you will get printed 'Hello World' from Java!

forked from: frol/docker-alpine-oraclejdk8

Docker Pull Command