constellation/bazel/toolchains/oci_deps.bzl

18 lines
847 B
Python
Raw Normal View History

"""Bazel rules for building OCI images"""
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
def oci_deps():
# TODO(malt3): This uses a patch on top of the normal rules_oci that removes broken Windows support.
# Remove this override once https://github.com/bazel-contrib/rules_oci/issues/420 is fixed.
http_archive(
name = "rules_oci",
strip_prefix = "rules_oci-c622bf79d269473d3d9bc33510e16cfd9a1142bc",
2023-04-03 12:13:34 -04:00
type = "tar.gz",
urls = [
"https://cdn.confidential.cloud/constellation/cas/sha256/dca0cfa2a8eb4ab79c231617964fc821f6d1a3bb9d996358975a5ceee5b8d25f",
"https://github.com/bazel-contrib/rules_oci/archive/c622bf79d269473d3d9bc33510e16cfd9a1142bc.tar.gz",
],
sha256 = "dca0cfa2a8eb4ab79c231617964fc821f6d1a3bb9d996358975a5ceee5b8d25f",
)