Images containing Java applications
Users are typically migrating from java_image or war_image in rules_docker.
You can request the
*_deploy.jar output of a
java_binary target, which is a single, self-contained launcher that includes all the dependencies.
This can then be added to a container with a base image such as
gcr.io/distroless/java17 and then executed directly, for example with
name = "java_image",
base = "@distroless_java",
entrypoint = [