mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-01-22 13:21:07 -05:00
c392bec892
* deps: update dependency rules_oci to v2.0.1 * deps: tidy all modules --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: edgelessci <edgelessci@users.noreply.github.com>
21 lines
1.0 KiB
Python
21 lines
1.0 KiB
Python
"""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-2.0.1",
|
|
type = "tar.gz",
|
|
urls = [
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/acbf8f40e062f707f8754e914dcb0013803c6e5e3679d3e05b571a9f5c7e0b43",
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/f70f07f9d0d6c275d7ec7d3c7f236d9b552ba3205e8f37df9c1125031cf967cc",
|
|
"https://github.com/bazel-contrib/rules_oci/releases/download/v2.0.1/rules_oci-v2.0.1.tar.gz",
|
|
],
|
|
sha256 = "acbf8f40e062f707f8754e914dcb0013803c6e5e3679d3e05b571a9f5c7e0b43",
|
|
patches = ["//bazel/toolchains:0001-disable-Windows-support.patch"],
|
|
patch_args = ["-p1"],
|
|
)
|