2023-01-30 11:15:59 -05:00
|
|
|
"""Bazel rules for building OCI images"""
|
|
|
|
|
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
|
|
|
|
|
|
|
def oci_deps():
|
2023-12-19 09:40:04 -05:00
|
|
|
# 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.
|
2023-01-30 11:15:59 -05:00
|
|
|
http_archive(
|
2023-03-15 08:10:05 -04:00
|
|
|
name = "rules_oci",
|
2023-12-19 09:40:04 -05:00
|
|
|
strip_prefix = "rules_oci-c622bf79d269473d3d9bc33510e16cfd9a1142bc",
|
2023-04-03 12:13:34 -04:00
|
|
|
type = "tar.gz",
|
2023-03-30 03:41:56 -04:00
|
|
|
urls = [
|
2023-12-19 09:40:04 -05:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/dca0cfa2a8eb4ab79c231617964fc821f6d1a3bb9d996358975a5ceee5b8d25f",
|
|
|
|
"https://github.com/bazel-contrib/rules_oci/archive/c622bf79d269473d3d9bc33510e16cfd9a1142bc.tar.gz",
|
2023-03-30 03:41:56 -04:00
|
|
|
],
|
2023-12-19 09:40:04 -05:00
|
|
|
sha256 = "dca0cfa2a8eb4ab79c231617964fc821f6d1a3bb9d996358975a5ceee5b8d25f",
|
2023-01-30 11:15:59 -05:00
|
|
|
)
|