bazel-contrib / rules_oci

Bazel rules for building OCI containers
Apache License 2.0
280 stars 146 forks source link

remove undeclared dependency on shasum #41

Closed thesayyn closed 1 year ago

thesayyn commented 1 year ago

Currently, oci_image_index depends on wc and shasum installed on host machine. These dependencies are undeclared and may lead oci_image_index to fail if any of these tools are absent on the host.

Alternatives considered;

https://github.com/jonelo/jacksum - requires dependency on java_binary. https://github.com/bazelbuild/bazel/blob/master/tools/build_defs/hash/hash.bzl - requires dependency on py_binary

thesayyn commented 1 year ago

https://github.com/uutils/coreutils/releases