Skip to content

A minimal OpenJDK 8 Docker image based on Alpine Linux

License

Notifications You must be signed in to change notification settings

greyfoxit/alpine-openjdk8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

A minimal OpenJDK 8 Docker image based on Alpine Linux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published