Sign inSign up

greyfoxit/alpine-openjdk8

By greyfoxit

Updated almost 9 years ago

A minimal Alpine Linux based Docker image with OpenJDK 8

Image
0

10K+

greyfoxit/alpine-openjdk8 repository overview

Alpine OpenJDK 8 / Docker

Docker Status Docker Pulls Layers Version

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.

Tag summary

Content type

Image

Digest

Size

71.7 MB

Last updated

almost 9 years ago

docker pull greyfoxit/alpine-openjdk8