This repository contains Dockerfile of Java for Docker's trusted build published to the public Docker Registry.
-
Install Docker.
-
Download trusted build from public Docker Registry:
docker pull dockerfile/java
(alternatively, you can build an image from Dockerfile:
docker build -t="dockerfile/java" github.com/dockerfile/java
)
docker run -it --rm dockerfile/java
docker run -it --rm dockerfile/java java
docker run -it --rm dockerfile/java javac