bazel-contrib / bazel-contrib/rules_distroless

`dpkg_status` does not add transitive dependencies

Open
#54 5 comments 0 reactions 0 assignees View on GitHub
feature request help wanted
Dominant language
Starlark
Stars
101
Forks
74
Avg merge
9h 42m
Merged PRs (30d)
2

Description

Currently there is no transitive dependency resolution of the packages that you provide to the `dpkg_status` rule. This causes `apt` to complain about missing dependencies and thinking that the install is broken. It might be possible to work around with a custom rule to resolve transitive deps of the top level packages you want to have installed before passing to `dpkg_status`, but it feels like this should be default behavior.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the `dpkg_status` rule and how it handles the packages supplied to it. Determine how transitive dependencies should be resolved before installation, then verify that `apt` no longer reports missing dependencies or a broken install for packages with dependencies.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.