-
Notifications
You must be signed in to change notification settings - Fork 516
Go 1.11+ projects require git (alpine-based image) #297
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
Comments
If you use |
If you're dependent on source control tools you could also be dependent on mercurial and bazaar, depending on where your dependencies are hosted. It might make sense to install git, etc in an image you base on the alpine image to keep them lightweight. The need for source control tools dissipates with Go 1.13 as that release uses the Go proxy to download |
I already migrated to 1.13 but didnt know about that feature yet. |
In reference to the issue #238 which was closed with the following quote:
Go 1.11+ projects that use go modules are not usable as go directly invokes the git binary which is not present in the container. Go modules are the most official way for projects right now and every project using this can not be build in the
golang:alpine
image.I think the git dependency is a hard requirement, not optional/additional and would be happy if we can discuss adding it to the official image.
The text was updated successfully, but these errors were encountered: