Closed mingmingshiliyu closed 11 months ago
Hey @mingmingshiliyu, thanks for reporting this. After a deep dive, I discovered that Homebrew filters out local environment variables and Go configuration set in go env
.
I've added special support for GOPROXY
using a variable called HOMEBREW_GOPROXY
. You can now install the formulae using a specific GOPROXY
like this:
HOMEBREW_GOPROXY=https://my-proxy-url brew install chipmk/tap/docker-mac-net-connect
I've also added this to the docs here. Could you try this and let me know if it solves your issue?
Hey @mingmingshiliyu, thanks for reporting this. After a deep dive, I discovered that Homebrew filters out local environment variables and Go configuration set in
go env
.I've added special support for
GOPROXY
using a variable calledHOMEBREW_GOPROXY
. You can now install the formulae using a specificGOPROXY
like this:HOMEBREW_GOPROXY=https://my-proxy-url brew install chipmk/tap/docker-mac-net-connect
I've also added this to the docs here. Could you try this and let me know if it solves your issue?
It looks like it's using your custom GOPROXY
. Does that proxy work for you when you normally use go
? (you can try cloning this repo and running make build-go
)
Hey @mingmingshiliyu, thanks for reporting this. After a deep dive, I discovered that Homebrew filters out local environment variables and Go configuration set in
go env
.I've added special support for
GOPROXY
using a variable calledHOMEBREW_GOPROXY
. You can now install the formulae using a specificGOPROXY
like this:HOMEBREW_GOPROXY=https://my-proxy-url brew install chipmk/tap/docker-mac-net-connect
I've also added this to the docs here. Could you try this and let me know if it solves your issue?
it works!