Skip to content

Commit

Permalink
README cleanup (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
pcj authored Mar 1, 2024
1 parent 11505d0 commit 5011650
Showing 1 changed file with 9 additions and 9 deletions.
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.

0 comments on commit 5011650

Please sign in to comment.