Skip to content

Commit

Permalink
chore: skip Go proxy for lambda-go integ tests (#14727)
Browse files Browse the repository at this point in the history
Privacy-conscious users and/or organizations may choose to skip sending all
package requests to the Google proxy (as is default). Some corporate
environments may block network access to proxy.golang.org altogether.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
njlynch authored May 17, 2021
1 parent 3bca822 commit 8154e91
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-lambda-go/lib/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ FROM $IMAGE

# set the GOCACHE
ENV GOCACHE=$GOPATH/.cache/go-build
ENV GOPROXY=direct

# Ensure all users can write to GOPATH
RUN chmod -R 777 $GOPATH
Expand Down

0 comments on commit 8154e91

Please sign in to comment.