0382ee57420f95b1b2bf89d766c62fc2ad989ac5
Previously, the Docker file added a bunch of utilities and downloaded the version of Java directly in the image that was eventually created. This left a bunch of unnecessary and potentially vulnerable packages on the image that was used in production. This change makes the build a multi-stage build and ensures that the network utilities required for downloading only exist on a disposed stage. In addition to the change to a multi-stage build, this change also swaps from the Pivotal Distribution of OpenJDK to BellSoft Liberica. Signed-off-by: Ben Hale <bhale@vmware.com>
openjdk-docker
OpenJDK Docker image
Description
Languages
Shell
85.8%
Dockerfile
14.2%