Public | Automated Build

Last pushed: 2 years ago
Short Description
Minimal Docker image with Alpine distro + Oracle JRE 8.
Full Description

OracleJRE 8 Docker image

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

JRE bundle contains lots of unnecessary for Docker image stuff, so it was cleaned up.

Usage Example

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

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

Docker Pull Command
Owner
leodutra

Comments (0)