opcr-io / policy

CLI for building OPA policies into OCI images
https://www.openpolicycontainers.com
Apache License 2.0
213 stars 12 forks source link

remove need for replace directive #104

Closed gertd closed 1 year ago

gertd commented 1 year ago

This PR fixes https://github.com/opcr-io/policy/issues/98 (Documented go install method fails with 0.1.43 due to replace directive.)

The code nolonger relies on a private fork of the github.com/shurcooL/graphql, instead it leverages a retreyuable http client to achieve the same behavior, which is all encapsualted in the scc-lib package (github.com/aserto-dev/scc-lib)