Small Docker image with OracleJDK 8 (~167MB)
10K+
This image is based on Alpine Linux image and contains OracleJDK 8.
Download size of this image is only:
$ 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!
Content type
Image
Digest
Size
60.2 MB
Last updated
almost 10 years ago
docker pull skantar/linux-java8