Skip to content

Commit 82d7b89

Browse files
bjoerndtarasmadan
authored andcommitted
tools/syz-env: support GOPROXY environment variable
Working in a firewalled environment where Go proxy services are blocked. To work around this, we need to set GORPOXY=direct in order to make go builds download packages directly from source rather than using a proxy. Support such setups by passing the user's GOPROXY setting into the syz-env Docker container. Signed-off-by: Bjoern Doebel <doebel@amazon.de>
1 parent ef766cd commit 82d7b89

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/syz-env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ docker run \
9494
--workdir /syzkaller/gopath/src/github.com/google/syzkaller \
9595
--env HOME=/syzkaller \
9696
--env GOPATH=/syzkaller/gopath:/gopath \
97+
--env GOPROXY \
9798
--env FUZZIT_API_KEY \
9899
--env GITHUB_REF \
99100
--env GITHUB_SHA \

0 commit comments

Comments
 (0)