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

README cleanup #4

Merged
merged 1 commit into from
Mar 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,17 @@

![build-status](https://github.com/stackb/pycross_image/actions/workflows/ci.yaml/badge.svg)

Bazel starlark rules for building container images from `py_binary` :sparkles:
using [@rules_pycross](https://github.com/jvolkman/rules_pycross) :magic:.
Bazel starlark rules for building container images from `py_binary` using
[@rules_pycross](https://github.com/jvolkman/rules_pycross) :sparkles:.

`@pycross_image` provides:
Provides:

- `load("@pycross_image//bazel/rules:oci.bzl", "py_image")`: image rule
compatible with [@rules_oci](https://github.com/bazel-contrib/rules_oci)
- `load("@pycross_image//bazel/rules:docker.bzl", "py_image")`: image rule
compatible with [@rules_docker](https://github.com/bazelbuild/rules_docker)
- `load("@pycross_image//bazel/rules:oci.bzl", "py_image")`
- image rule compatible with
[@rules_oci](https://github.com/bazel-contrib/rules_oci)
- `load("@pycross_image//bazel/rules:docker.bzl", "py_image")`
- image rule compatible with
[@rules_docker](https://github.com/bazelbuild/rules_docker)

## Installation & Usage

Expand Down Expand Up @@ -91,5 +93,3 @@ The `pycross_binary` rule transitions from the host platform to `:linux_x86_64`.

The image is partitioned into three tar layers by matching against filename
patterns (see rule implementation for details).

> `@rules_pycross` supports dependency fetching using PDM or poetry.
Loading