Skip to content

Latest commit

 

History

History
29 lines (13 loc) · 687 Bytes

README.md

File metadata and controls

29 lines (13 loc) · 687 Bytes

Docker distroless Java

Small Docker image with Java Runtime (JRE)


Build

To build Docker image, you must ensure that Docker is correctly installed and your current user have permission to use it.

#> chmod +x ./build-all.bash
#> ./build-all.bash

What is in the generated images?

The generated images contain the libraries needed for the Java Runtime to run, the JRE itself, and bash / sh shell, nothing else.

Modules

The JRE generated from the JDK contains all the java.* modules as well as the jdk.unsupported and jdk.unsupported.desktop modules.

Usage

#> docker run -it --rm thibaultmeyer/distroless-java:oracle-19 java -version