On Sun, Jul 23, 2017 at 8:13 PM, Steve Speicher <[email protected]> wrote:
> > On Fri, Jul 7, 2017 at 8:45 AM Burr Sutter <[email protected]> wrote: > >> 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" >> > > Maybe this one helps https://github.com/openshift/origin/tree/master/ > examples/hello-openshift > > thanks... Jesus figured it out weeks ago :-) > Steve > > >> 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 >> > -- > Thanks, Steve Speicher Red Hat OpenShift Sent from Gmail Mobile >
_______________________________________________ Container-tools mailing list [email protected] https://www.redhat.com/mailman/listinfo/container-tools
