Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dockerfile: fetch oci-*-tools with go install
We also need to switch to "go install" entirely because we are about to update to a newer Go version that has disallowed "go get" outside of repos. For both tools, we need to pin an older version in order to make sure our tests function properly: * oci-runtime-tool since v0.6.0 validates that reserved annotations are not used. However, due to an oversight the OCI image-spec defined org.opencontainers.image.* annotations are considered "reserved" by the OCI runtime-spec. [1] should resolve this issue (once it is merged and oci-runtime-tool is updated with the relevant fixes) but in the meantime we need to use an older version of this tool. So we need to use v0.5.0 for the time being. * oci-image-tool appears to have become non-functional for our needs since v1.0.0-rc1, where support for scanning an entire image layout (i.e. complete OCI image) appears to have been removed. We need to use v0.3.0 for the time being. [1]: opencontainers/runtime-spec#1197 Signed-off-by: Aleksa Sarai <[email protected]>
- Loading branch information