From 15263bab0dda3a735b55d5ac69ea28073303e5d5 Mon Sep 17 00:00:00 2001 From: Renato Valenzuela Date: Fri, 10 Nov 2023 22:51:07 +0000 Subject: [PATCH] chore: Don't embed VCS information --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9ff6c1a..c2d5e55 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ compile-with-docker: docker run --env GOPROXY=direct -v $(shell pwd):/LambdaRuntimeLocal -w /LambdaRuntimeLocal golang:1.19 make ARCH=${ARCH} compile-lambda-linux compile-lambda-linux: - CGO_ENABLED=0 GOOS=linux GOARCH=${GO_ARCH_${ARCH}} go build -ldflags "${RELEASE_BUILD_LINKER_FLAGS}" -o ${DESTINATION_${ARCH}} ./cmd/aws-lambda-rie + CGO_ENABLED=0 GOOS=linux GOARCH=${GO_ARCH_${ARCH}} go build -buildvcs=false -ldflags "${RELEASE_BUILD_LINKER_FLAGS}" -o ${DESTINATION_${ARCH}} ./cmd/aws-lambda-rie tests: go test ./...