-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: tell go install to install deps from a certain github.com org first #39058
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
Since the Moreover, since the |
cache is not good bc we are in dockerfile / docker build |
Docker is capable of saving caches. (You can relocate the Go build cache to a specific location for later reuse by setting the See the discussion on #27719. |
yes but of course I am taking about the very first call to |
If you save the cache, “the very first” call happens only ~once (perhaps once per Go release?), the first time you set up the Docker image. Why is it important to have fail-fast behavior for something that happens so infrequently? |
Timed out in state WaitingForInfo. Closing. (I am just a bot, though. Please speak up if this is a mistake or you have the requested information.) |
We sometimes have to wait for a long time for 3rd party libs to install before our org's dependencies are installed. Since our deps change all the time, but the 3rd party libs are more static, we want a fail fast methodology to be in place - and install our deps first.
One idea is to have two separate go.mod files or contents. Copy our org's deps to one, go install, and then install 3rd party libs as a second step. Might that work?
The text was updated successfully, but these errors were encountered: