Replies: 1 comment
-
Hi 👋 Can you try using the Feature as follows and see if that works? "features": {
"ghcr.io/devcontainers/features/go:1": {
"goProxy": "direct"
}
} Even though If this still doesn't work, can you open an issue at https://github.com/devcontainers/features/issues, and we can look into adding it as an official Feature option? Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Is there currently any way to be able to inject a GOPROXY environment variable into the go feature install?
I work in an environment where proxy.golang.org is not accessible but using GOPROXY=direct works. Is there a way to ensure this environment variable is set so that when the go feature install runs all the tools successfully install.
I have tried remoteEnv and containerEnv but they setup the environment for after the container has been setup so aren't appropriate.
Thanks,
Jon
Beta Was this translation helpful? Give feedback.
All reactions