Closed radu-matei closed 4 years ago
Not sure what Azure Pipelines is doing, cancelled the build and reran it, it's green now - https://dev.azure.com/deislabs/cnab-go/_build/results?buildId=3919
Also, we should probably consider adding the vendor/
directory to source control, like we do in the rest of the Go projects in CNAB.
I agree that a follow-up PR where we commit vendor would be appreciated. 👍
@radu-matei sorry for the churn, can you rebase this PR now that #161 is merged?
Closing now that we use go mods.
depends on https://github.com/docker/cnab-to-oci/pull/77 ref #121
When that PR is merged, we should update this PR, do a release of
cnab-to-oci
, then a release ofcnab-go
.There are still some dependencies that are still overridden:
without the
x/sys
override:github.com/docker/docker/pkg/system/filesys_windows.go:112:24: cannot use uintptr(unsafe.Pointer(&sd[0])) (type uintptr) as type *"github.com/deislabs/cnab-go/vendor/golang.org/x/sys/windows".SECURITY_DESCRIPTOR in assignment
go-containerregistry
- I got this fromduffle
- I think it relates toimage-relocation
- @glyn might be able to help`containerd
,distribution
,docker-credential-helpers
- this helps pin compatible versions acrosscnab-to-oci
,cli
,client
,docker/docker
. Feel free to try turning these into constraints rather than overrides, I didn't have any luck so far.Please test this on all operating systems and supported Go versions - I also added the
osusergo
build tag (see https://github.com/golang/go/issues/23265) - without it, cross compilation on Darwin fails.