Skip to content

Repository files navigation

Docker Go Base

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

Building

go build -o numapp_linux-amd64 -tags netgo *.go
# Or
./script/build

-tags netgo will help you achieve static binaries :)

Running

./numapp_linux-amd64
docker run --rm -ti pdxjohnny/numapp

Changing The Name

./script/change-name $GITHUB_USERNAME $PROJECT_NAME
  • John Andersen

About

Add any social media accounts to your PAL account so that other can find you online

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages