A minimal Alpine Linux based Docker image with OpenJDK 8
10K+
A minimal Alpine Linux based Docker image with OpenJDK 8
exactly as you would with any other docker image inside Dockerfile
FROM greyfoxit/alpine-openjdk8
$ docker pull greyfoxit/alpine-openjdk8
$ git clone https://github.com/greyfoxit/alpine-openjdk8.git && cd alpine-openjdk8
$ docker build --no-cache -t greyfoxit/alpine-openjdk8 .
$ docker run --rm -it greyfoxit/alpine-openjdk8
$ echo -e 'public class Main { public static void main(String[] args) { System.out.println("Hello Docker"); } }' > Main.java
$ docker run --rm -v `pwd`:/mnt -w /mnt greyfoxit/alpine-openjdk8 javac Main.java && java Main
Please file an issue on Github
Released under the MIT License by Greyfox, Inc.
Content type
Image
Digest
Size
71.7 MB
Last updated
almost 9 years ago
docker pull greyfoxit/alpine-openjdk8