Public | Automated Build

Last pushed: 3 years ago
Short Description
Short description is empty for this repo.
Full Description


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

Usage Example

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

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

Docker Pull Command