Bazel rules for creating packages of many types (zip, tar, deb, rpm, ...) https://bazelbuild.github.io/rules_pkg/
Go to file
aiuto 154479d928
html != md
2020-07-14 20:18:47 -04:00
.bazelci Provide tests for experimental/pkg_rpm.bzl (#160) 2020-05-26 16:53:23 -04:00
deb_packages move examples from top level to under deb_packages, since they were only for deb_packages. (#181) 2020-05-28 14:01:56 -04:00
pkg Control mode on zip inputs (#96) (#97) 2020-07-09 16:01:27 -04:00
.gitignore Allow supplying package_dir of pkg_tar from a file (#57) 2019-07-25 23:01:00 -04:00
.travis.yml Add basic travis-ci tests 2017-12-28 16:59:32 +01:00
AUTHORS Add deb_packages ruleset 2017-12-28 16:57:43 +01:00
CODEOWNERS Change owners so we spamming everyone while we are in rapid developement. (#44) 2019-06-17 14:58:10 -04:00
CONTRIBUTING.md html != md 2020-07-14 20:18:47 -04:00
CONTRIBUTORS initial commit 2017-12-21 14:20:32 -05:00
LICENSE initial commit 2017-12-21 14:20:32 -05:00
README.md fix CI setup (#167) 2020-05-04 11:10:54 -04:00
patching.md Create patching.md 2020-07-14 20:15:01 -04:00

README.md

Bazel package building & fetching rules

Bazel rules for packaging and fetching (for Debian and other distribution channels).

Use rules-pkg-discuss@googlegroups.com for discussion.

CI: Build status

Basic rules

Package building rules

  • pkg - Rules for building packages of various types.

We are currently in the process of migrating the Bazel packaging rules from Bazel to this repo. Tracking issue: https://github.com/bazelbuild/bazel/issues/8489.

Bazel now uses this rule set for packaging it's distribution. It still contains a vestigial early version of these rules, but those will be removed in a future release.

debian specific rules

  • deb_packages - WORKSPACE rule to fetch deb files from Debain style mirror servers

  • update_deb_packages - update the hash and path of files mentioned in deb_packages rules

Background

The deb_package 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. That work was done in December 2017.