AdoptOpenJDK / openjdk-docker

Scripts for creating Docker images of OpenJDK binaries.

Home Page:https://hub.docker.com/_/adoptopenjdk/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

distroless container support

mstoodle opened this issue · comments

Borrowing text from #12 since distroless containers were not provided when #12 was closed.

Please add support for "distroless" images that would not depend on particular Linux flavor.

Some links for the distroless topic:

https://github.com/GoogleCloudPlatform/distroless
https://www.infoq.com/news/2017/10/choosing-container-image
http://crunchtools.com/comparison-linux-container-images/

It would require setting up bazel build based, sth like https://github.com/GoogleContainerTools/distroless/blob/main/java/BUILD used for build their distroless image so the bazel knowledge is required here, as well knowledge on java system dependencies (which might change for different version of java or even different variant). Also pure distroless images are harder to use (no package manager, no shell) so they will be more difficult to use