Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Distroless] Enable Distroless Python SDK (non-ML) based container #32817

Open
4 of 9 tasks
Tracked by #32815
damondouglas opened this issue Oct 16, 2024 · 0 comments
Open
4 of 9 tasks
Tracked by #32815
Assignees

Comments

@damondouglas
Copy link
Contributor

damondouglas commented Oct 16, 2024

Summary

Add distroless variants to existing Python SDK container images:

  • beam-sdk/beam_python3.9_sdk
  • beam-sdk/beam_python3.10_sdk
  • beam-sdk/beam_python3.11_sdk
  • beam-sdk/beam_python3.12_sdk

Description

The Publish Beam SDK Snapshots, PreCommit Python Docker, 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 Python Dockerfiles such as pip, and many 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

@damondouglas damondouglas self-assigned this Oct 16, 2024
@damondouglas damondouglas changed the title Enable Distroless Python SDK (non-ML) based container [Distroless] Enable Distroless Python SDK (non-ML) based container Oct 16, 2024
@damondouglas damondouglas added this to the 2.62.0 Release milestone Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant