bazel-contrib / bazel-contrib/rules_distroless

package only available for one arch

Open
#199 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Starlark
Stars
101
Forks
74
Avg merge
9h 42m
Merged PRs (30d)
2

Description

Use this example https://github.com/bazel-contrib/rules_distroless/blob/main/examples/debian_snapshot/bullseye.yaml

If one of the packages is only available for amd64, when running lock, it will complain the said package is not available for arm64. How can I write the yaml file to tell this package is only for amd64?

Contributor guide

Open the contributing guide

Research direction

Start with examples/debian_snapshot/bullseye.yaml and trace the lock operation described in the issue. Determine how package availability is selected for arm64 and amd64, then verify that the YAML can express an amd64-only package without producing the arm64 error.

Written by the indexing model from the issue text.

Assessment

Tech stack
yaml
Domain
build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.