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

pass Go module proxy variables through docker-go #1121

Merged
merged 1 commit into from
Sep 16, 2020

Conversation

bcressey
Copy link
Contributor

Issue number:
N/A

Description of changes:
Previously, we always set GOPRIVATE=*, which blocked any use of the public Go module mirror.

Now we pass the module proxy variables through from the environment, so that the behavior is under the developer's control.

Testing done:
None, yet.

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

tools/docker-go Outdated Show resolved Hide resolved
Previously, we always set `GOPRIVATE=*`, which blocked any use of the
public Go module mirror.

Now we pass the module proxy variables through from the environment,
so that the behavior is under the developer's control.
@bcressey bcressey marked this pull request as ready for review September 16, 2020 00:31
@bcressey bcressey merged commit ca5a030 into bottlerocket-os:develop Sep 16, 2020
@bcressey bcressey deleted the no-goprivate branch September 16, 2020 17:51
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 this pull request may close these issues.

3 participants