This project is a companion to punxatawny. It is a simple "hello world" style web service app written in Go.
Dependencies are described via dep
in Gopkg.toml
dep ensure
go build phil.go
We ran into a few problems getting this app to run in a standard Alpine container.
For the most part, this came down to Alpine uses musl rather than glibc.
Googling found this article
that described statically linking the entire Go app,
then building a Docker image based on the "scratch" container. The file build.sh
in this directory encapsulates building the go app and creating the Docker container.
./build.sh