Skip to content

Go web service that is a companion to the punxatawny repo

Notifications You must be signed in to change notification settings

WinterTechForum/phil

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Go web service that is a companion to the punxatawny repo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published