Skip to content

Docker-Hub-frolvlad/docker-alpine-oraclejre8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 

Repository files navigation

Docker Stars Docker Pulls

OracleJRE 8 Docker image

This image is based on Alpine Linux image, which is only a 5MB image, and contains OracleJRE 8.

You must accept the Oracle Binary Code License Agreement for Java SE to use this image (see frolvlad/docker-alpine-oraclejdk8/issue-6 for details).

JRE bundle contains lots of unnecessary for Docker image stuff, so it was cleaned up. There are 3 tags: full (only src tarballs get removed), cleaned (desktop parts get cleaned), slim (everything but jvm is removed). master branch refers to slim tag, but latest tag points to cleaned.

slim (master branch) download image size is:

cleaned (latest tag) download image size is:

full download image size is:

In case you need to compile Java code with Oracle JDK, consider using frolvlad/alpine-oraclejdk8 image.

Usage Example

NOTE: You will need to have a compiled Java application (Main.class) to run this.

$ docker run --rm -v "$(pwd)":/mnt --workdir /mnt frolvlad/alpine-oraclejre8:slim java Main

Once you have run this command you will get printed 'Hello World' from Java!

About

[DEPRECATED IN FAVOR OF frolvlad/alpine-java] Small Docker image with OracleJRE 8 (119MB)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published