A minimal Alpine Linux based Docker image with OpenJDK 8
- Alpine Linux ( 3.6 ) with GNU C (glibc)
- OpenJDK ( 8u151 )
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.