Skip to content

[Distroless] Enable Distroless Java SDK based container images #32818

Description

@damondouglas

Summary

Add distroless variants to existing Java SDK container images:

  • beam-sdk/beam_java17_sdk
  • beam-sdk/beam_java21_sdk

Description

The Publish Beam SDK Snapshots, and build_release_candidate GitHub workflows build and publish Beam container images using docker. The distroless base images by design lack tools assumed to exist in Java Dockerfiles such as file system tools. In order to reuse the existing Dockerfile to add a distroless variant, we need to employ a multi-stage build approach.

Blockers

Measures of Done

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions