Skip to content

Bazel rules for creating packages of many types (zip, tar, deb, rpm, ...)

License

Notifications You must be signed in to change notification settings

ulfjack/rules_pkg

This branch is 383 commits behind bazelbuild/rules_pkg:main.

Folders and files

NameName
Last commit message
Last commit date
Aug 7, 2020
May 28, 2020
Sep 10, 2020
Jul 26, 2019
Dec 28, 2017
Dec 28, 2017
Jun 17, 2019
Jul 15, 2020
Dec 21, 2017
Dec 21, 2017
May 4, 2020
Jul 15, 2020

Repository files navigation

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: bazelbuild/bazel#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.

About

Bazel rules for creating packages of many types (zip, tar, deb, rpm, ...)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Starlark 46.7%
  • Python 41.5%
  • Go 8.0%
  • Shell 3.8%