Created
October 19, 2019 20:53
-
-
Save ivan-marquez/259ec87aacc6b3010cef85169dfa9964 to your computer and use it in GitHub Desktop.
Bash script to build AWS Lambda functions in Go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export GO111MODULE=on | |
env GOOS=linux go build -ldflags="-s -w" -o main | |
zip main.zip main |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment