Overview of rules_pkg capabilities
mainrules_pkg provides Bazel rules for building various package formats, including:
- tar: Tar archives
- zip: Zip archives
- deb: Debian packages
- rpm: Red Hat Package Manager files
Note: As of Bazel 4.x, Bazel uses this rule set for its own distributions. While Bazel contains a limited version of pkg_tar, its features are frozen; all new packaging capabilities are implemented in rules_pkg.