Skip to content

Latest commit

 

History

History

README.md

Python e2e example

This directory contains examples of creating OCI container images for Python applications using rules_img.

Quick Start with image_from_binary

The fastest way to package a Python binary: just point image_from_binary at your py_binary target. The entrypoint, args, env, and working directory are configured automatically. See image_from_binary_example/.

Building

bazel build //:image

Pushing to registry

bazel run //:push

Running locally

bazel run //:load
docker run --rm ghcr.io/malt3/rules_img/python:sideloaded

See the BUILD files for more details.