{"repo":"bazel-contrib/rules_oci","free":true,"listed":false,"github":"https://github.com/bazel-contrib/rules_oci","clone":"git clone https://github.com/bazel-contrib/rules_oci.git","description":"Bazel rules for building OCI containers","language":"Starlark","stars":423,"topics":["containers","docker","oci","aspect-build"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"Bazel rules for OCI container images Very simple Bazel rules based on the Open Containers Initiative specification: Status: Unfunded, stable in maintenance mode. Design Principles - Keep a tight complexity budget for the project so we are able to commit to effective maintenance without any dedicated funding. - Use only off-the-shelf, pre-built layer and container manipulation tools. - Use DefaultInfo to hand information between rules, meaning that files and directories are inputs/outputs for each action. - Stay true to the specification, and only the specification. - Don't write language-specific rules, as we cannot be experts on all languages, nor can users deal with the versioning issues that come with dependencies we would be forced to take on the rules for those languages. - Don't be docker-specific, now that it has a commercial license and other container runtimes exist (podman for example). - Use our toolchain hermetically: don't assume there is a docker pre-installed on the machine. Comparison with rules img As described above, rules oci is built for maintainability on top of standard container tools. This means it doesn't attempt to make all the optimizations that are possible with rules img. For use with remote cache and remote execution, the use of files and directories as action input/output means that lots of bytes are sent over the network. For these cases, we recommend trying rules img. See https://github.com/bazel-contrib/rules img/blob/main/docs/migration-from","default_branch":null,"files":null,"tree":[],"storefront":"/r/bazel-contrib","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bazel-contrib/rules_oci/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}