Skip to content
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

Docker build fails due to upstream dep issue #71

Closed
Chaffelson opened this issue Apr 22, 2021 · 1 comment
Closed

Docker build fails due to upstream dep issue #71

Chaffelson opened this issue Apr 22, 2021 · 1 comment

Comments

@Chaffelson
Copy link

Logs like:

#5 18.53 # github.com/golang/dep/gps
#5 18.53 pkg/mod/github.com/golang/dep@v0.5.4/gps/constraint.go:103:21: cannot use sv (type *semver.Version) as type semver.Version in field value
#5 18.53 pkg/mod/github.com/golang/dep@v0.5.4/gps/constraint.go:122:16: invalid type assertion: c.(semver.Version) (non-interface type *semver.Constraints on left)
#5 18.53 pkg/mod/github.com/golang/dep@v0.5.4/gps/constraint.go:149:4: undefined: semver.Constraint

Relates to issue: golang/dep#2223
Can be fixed by using this suggestion on that issue: golang/dep#2223 (comment)

Chaffelson added a commit to Chaffelson/addlicense that referenced this issue Apr 22, 2021
Uses suggestion from upstream Issue at golang/dep#2223 (comment)
willnorris added a commit to willnorris/addlicense that referenced this issue Jul 28, 2021
Use go modules instead of dep.  Use two stage build to build a minimal
(4 MB) application image.

Fixes google#51 google#71 google#78
@willnorris
Copy link
Collaborator

Fixed in #82

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants