From 8154e91952b994197e7bc92562cafb281cc68e52 Mon Sep 17 00:00:00 2001 From: Nick Lynch Date: Mon, 17 May 2021 15:29:02 +0100 Subject: [PATCH] chore: skip Go proxy for lambda-go integ tests (#14727) 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* --- packages/@aws-cdk/aws-lambda-go/lib/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/@aws-cdk/aws-lambda-go/lib/Dockerfile b/packages/@aws-cdk/aws-lambda-go/lib/Dockerfile index 149d117cffdb9..ffa102c84803c 100644 --- a/packages/@aws-cdk/aws-lambda-go/lib/Dockerfile +++ b/packages/@aws-cdk/aws-lambda-go/lib/Dockerfile @@ -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