Public | Automated Build

Last pushed: a month ago
Short Description
A minimal Alpine Linux based Docker image with OpenJDK 8
Full Description

Alpine OpenJDK 8 / Docker

A minimal Alpine Linux based Docker
image with OpenJDK 8

Content  /

  • Alpine Linux ( 3.6 ) with GNU C (glibc)
  • OpenJDK ( 8u151 )

Use this  >

as base image

exactly as you would with any other docker image inside Dockerfile

FROM greyfoxit/alpine-openjdk8

as pull from Docker Hub

$ docker pull greyfoxit/alpine-openjdk8

as local build

$ git clone https://github.com/greyfoxit/alpine-openjdk8.git && cd alpine-openjdk8
$ docker build --no-cache -t greyfoxit/alpine-openjdk8 .

as running container

$ docker run --rm -it greyfoxit/alpine-openjdk8

Example

$ 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

Support

Please file an issue on Github

License

Released under the MIT License by Greyfox, Inc.

Docker Pull Command
Owner
greyfoxit
Source Repository