On Fri, Jul 7, 2017 at 9:37 AM, jesus m. rodriguez <[email protected]> wrote:
> On Fri, 2017-07-07 at 09:13 -0400, jesus m. rodriguez wrote: > > On Fri, 2017-07-07 at 04:33 -0400, Burr Sutter wrote: > > > I would like to add a helloworld Go REST endpoint to my mix of > > > demos > > > > [snip] > > > > > > > > I even have Node.js (needs work to make it match) > > > https://github.com/burrsutter/kube4docker/blob/master/node-demo/hel > > > lo > > > -http.js > > > > > > and I can wrap them easily up in Docker and throw then into Kube > > > but I thought it would be fun to have a Go example - anybody have a > > > super > > > simple Go REST endpoint and a Dockerfile? > > > > > > > Burr, > > > > I can cut down our old server to be a single example endpoint for > > you. > > > > https://github.com/fusor/cap-server/blob/master/main.go > > > > jesus > > I'll add a Dockerfile file for you. But here's a simple go example. > > https://github.com/jmrodri/go-demo/blob/master/main.go > > thank you and I am very curious to know what the Dockerfile looks like - never seen one for a "go app" > jesus > > -- > jesus m. rodriguez | [email protected] > principal software engineer | irc: zeus > red hat systems management | 919.754.4413 (w) > rhce # 805008586930012 | > +---------------------------------------------+ > | "Those who cannot remember the past | > | are condemned to repeat it." | > | -- George Santayana | > +---------------------------------------------+ > > _______________________________________________ > Container-tools mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/container-tools >
_______________________________________________ Container-tools mailing list [email protected] https://www.redhat.com/mailman/listinfo/container-tools
