Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 850 Bytes

README.md

File metadata and controls

32 lines (23 loc) · 850 Bytes

Phil

This project is a companion to punxatawny. It is a simple "hello world" style web service app written in Go.

Build

Dependencies

Dependencies are described via dep in Gopkg.toml

dep ensure

Local

go build phil.go

For Docker

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