A minimal ubuntu based Docker container with Oracle Java SE JRE installed.
Version tags are based off the installed Java version.
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!