New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix broken dependencies in go 1.13 #85
Conversation
Thanks for pointing this out @rvolosatovs ! After taking a quick look at this, I think a better approach would be to update the go version to Thoughts? |
I added 7243ee0, but sure enough, The only way to fix these without |
Looking at oras .mod they're replacing their docker with 0.7.3 specifically. We had a previous run in with this module in the past which can be seen here and in their own repository here You've dug into this more than I have, but as a quick test I just deleted all of the requirements in the
Ran a |
7243ee0
to
79220ab
Compare
FWIW this is what mine looked like after running the above commands
|
Ok, I:
|
79220ab
to
e8494d8
Compare
Missed the Thrift replace in previous commit |
I'm fine with specifying a specific docker version, we should just replace my previous comment with that and be good without needing so many other replaces module github.com/instrumenta/conftest
go 1.13
replace github.com/docker/docker v0.0.0-00010101000000-000000000000 => github.com/moby/moby v0.7.3-0.20190826074503-38ab9da00309
require (
cuelang.org/go v0.0.11
github.com/BurntSushi/toml v0.3.1
github.com/containerd/containerd v1.3.0-rc.1
github.com/deislabs/oras v0.7.0
github.com/ghodss/yaml v1.0.0
github.com/go-ini/ini v1.46.0
github.com/gobwas/glob v0.2.3 // indirect
github.com/hashicorp/terraform v0.12.8
github.com/logrusorgru/aurora v0.0.0-20190803045625-94edacc10f9b
github.com/moby/buildkit v0.6.1
github.com/open-policy-agent/opa v0.14.0
github.com/opencontainers/image-spec v1.0.1
github.com/sirupsen/logrus v1.4.2
github.com/spf13/cobra v0.0.5
github.com/spf13/viper v1.4.0
github.com/yashtewari/glob-intersection v0.0.0-20180916065949-5c77d914dd0b // indirect
) |
The replaces are necessary for
|
Odd. I'm out of town for the weekend so can't run it till later, but was definitely able to get it to build with a single replace. I just deleted all of the required modules, leaving only the single replace, built, and then added rc1 for container. I was using the go1.13 binary with the environment variables |
e8494d8
to
01a5de0
Compare
Updated in #99 |
Latest
master
is broken ongo 1.13
due to invalid dependencies:Fixed that