Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 591 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 591 Bytes

Docker - Java

A minimal ubuntu based Docker container with Oracle Java SE JRE installed.

Version tags are based off the installed Java version.

Usage

Edit the Dockerfile to use the version of Java you need.

Build the container, and tag it with the Java version.

$ docker build -t='yourname/java:_version_'

Set up your Dockerfile to use this image

# in your Dockerfile
FROM yourname/java:_version_
...

Then build away!