This repo is meant to be used as a starting point for go projects
It uses docker to compile the binaries and the main Dockerfile adds the linux binary to the busybox image to create an extremely small final image
go build -o frontend_linux-amd64 -tags netgo *.go
# Or
./script/build
-tags netgo
will help you achieve static binaries :)
./frontend_linux-amd64
docker run --rm -ti authit/frontend
./script/change-name $GITHUB_USERNAME $PROJECT_NAME
- John Andersen