I'm all for working to avoid docker in your local development environment if you can swing it. Docker is a beast and if it's way faster to `go run` then do it.
But docker is the deployment artifact of our age. Simple go binary? great! but don't deploy that with SCP, put it in a bare bones docker image because that is the language of deployment today.
I've been using the Serverless framework to deploy to lambda recently, and if I could change one thing it would be to deploy using a docker image instead of the old lambda zip file. The docker image would be versional in a way that is difficult with the serverless framework presently.
But docker is the deployment artifact of our age. Simple go binary? great! but don't deploy that with SCP, put it in a bare bones docker image because that is the language of deployment today.
I've been using the Serverless framework to deploy to lambda recently, and if I could change one thing it would be to deploy using a docker image instead of the old lambda zip file. The docker image would be versional in a way that is difficult with the serverless framework presently.