lambci / docker-lambda

Docker images and test runners that replicate the live AWS Lambda environment
MIT License
5.84k stars 431 forks source link

Golang update to 1.17 in builder Dockerfile #364

Open jhaoheng opened 2 years ago

jhaoheng commented 2 years ago

This pull request bumps up the Golang version from 1.15 to latest 1.17 for lambci/lambda:build-go1.x.

Because GoLang v1.16 and above start to support embed solution, it could help developer to embed their data easier. And it help me a lot. And dep command is deprecated and can not build with v1.16.

Thank you

docker build -t lambci/lambda:build-go1.x .
docker run -it --rm lambci/lambda:build-go1.x  go version

345