-
Notifications
You must be signed in to change notification settings - Fork 499
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
pkg/mod storage backend #1459
Comments
@arschles Yeah, this virtual storage backend would basically automate that process, feeding from |
For the record, we're currently using goproxyio/goproxy for our Docker builds because it supports this use case. If you're curious, here's a link to how we do it: Thanks! |
I see what you mean. If we had a different backend, or a "v2" backend of the current filesystem backend that followed the same format as what's in Either way, I am totally ok with having such a backend. Regarding #1414, I am gonna merge that one and I'm happy to modify it later on depending on what direction this goes. If you'd like to get started on it, that's totally cool with me, otherwise I can. No pressure either way, just let me know. |
@raulk do you still need this feature? I'm happy to go and figure out how to implement it. |
@raulk now that Athens supports external storage drivers, I am going to close this since a simple external server could be built to serve the local cache |
I'd like to start Athens and link its storage backend with an existing
$GOPATH/pkg/mod
repository on the host. That way it would be able to reuse any modules that have been downloaded on the machine.One scenario where this is useful is to speed up Golang Docker builds by starting up a proxy on the host to share modules downloaded there with the build container.
The text was updated successfully, but these errors were encountered: