DEV Community

Discussion on: Building and distributing a command line tool in Golang

 
miniscruff profile image
miniscruff

Oh yea, use a multi stage docker build, you can build your app in one and then using a base scratch image you can store it in a much smaller image. docs.docker.com/develop/develop-im... has a guide for it.