/rules_pkg

Primary LanguageGoApache License 2.0Apache-2.0

Bazel package fetching rules

Bazel rules for packaging (for Debian and other distribution channels). Repo initialized December 2017.

Travis CI
Build Status

Basic Rules

WORKSPACE Rules

  • deb_packages - fetch deb files from Debain style mirror servers

Helper tools

Background

These rules originated in the distroless project as well as discussions about the goal of that project and are intended as a way to retrieve bundled software packages from various places.

The initial scope is currently targeting Debian style distributions, because the Bazel docker rules allow optional deb and tar files to be included in their container images.

Currently these rules are focused on retrieving already built packages from repositories, not creating them as artifacts (e.g. like the Bazel packaging rules). In the future it is also planned to consolidate rules that are creating package files in this repository, to have a central place to look for package related rules for use in Bazel builds.