Sign inSign up

skantar/linux-java8

By skantar

Updated almost 10 years ago

Small Docker image with OracleJDK 8 (~167MB)

Image
1

10K+

skantar/linux-java8 repository overview

Docker StarsDocker Pulls

OracleJDK 8 Docker image

This image is based on Alpine Linux image and contains OracleJDK 8.

Download size of this image is only:

Usage Example

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

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

Tag summary

Content type

Image

Digest

Size

60.2 MB

Last updated

almost 10 years ago

docker pull skantar/linux-java8