<div><br><div class="gmail_quote"><div dir="auto">On Fri, Jul 7, 2017 at 8:45 AM Burr Sutter <<a href="mailto:bsutter@redhat.com">bsutter@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="gmail_extra"><div class="gmail_quote">On Fri, Jul 7, 2017 at 9:37 AM, jesus m. rodriguez <span><<a href="mailto:jesusr@redhat.com" target="_blank">jesusr@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Fri, 2017-07-07 at 09:13 -0400, jesus m. rodriguez wrote:<br>
> On Fri, 2017-07-07 at 04:33 -0400, Burr Sutter wrote:<br>
> > I would like to add a helloworld Go REST endpoint to my mix of<br>
> > demos<br>
><br>
> [snip]<br>
><br>
> ><br>
> > I even have Node.js (needs work to make it match)<br>
> > <a href="https://github.com/burrsutter/kube4docker/blob/master/node-demo/hel" rel="noreferrer" target="_blank">https://github.com/burrsutter/kube4docker/blob/master/node-demo/hel</a><br>
> > lo<br>
> > -http.js<br>
> ><br>
> > and I can wrap them easily up in Docker and throw then into Kube<br>
> > but I thought it would be fun to have a Go example - anybody have a<br>
> > super<br>
> > simple Go REST endpoint and a Dockerfile?<br>
> ><br>
><br>
> Burr,<br>
><br>
> I can cut down our old server to be a single example endpoint for<br>
> you.<br>
><br>
> <a href="https://github.com/fusor/cap-server/blob/master/main.go" rel="noreferrer" target="_blank">https://github.com/fusor/cap-server/blob/master/main.go</a><br>
><br>
> jesus<br>
<br>
</span>I'll add a Dockerfile file for you. But here's a simple go example.<br>
<br>
<a href="https://github.com/jmrodri/go-demo/blob/master/main.go" rel="noreferrer" target="_blank">https://github.com/jmrodri/go-demo/blob/master/main.go</a><br>
<br></blockquote></div></div></div><div><div class="gmail_extra"><div class="gmail_quote"><div>thank you and I am very curious to know what the Dockerfile looks like - never seen one for a "go app"</div></div></div></div><div><div class="gmail_extra"><div class="gmail_quote"><div></div></div></div></div></blockquote><div dir="auto"><br></div><div dir="auto">Maybe this one helps <a href="https://github.com/openshift/origin/tree/master/examples/hello-openshift">https://github.com/openshift/origin/tree/master/examples/hello-openshift</a></div><div dir="auto"><br></div><div dir="auto">Steve</div><div dir="auto"><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="gmail_extra"><div class="gmail_quote"><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
jesus<br>
<br>
--<br>
jesus m. rodriguez          | <a href="mailto:jesusr@redhat.com" target="_blank">jesusr@redhat.com</a><br>
principal software engineer | irc: zeus<br>
red hat systems management  | <a href="tel:919.754.4413" value="+19197544413" target="_blank">919.754.4413</a> (w)<br>
rhce # 805008586930012      |<br>
+---------------------------------------------+<br>
|   "Those who cannot remember the past       |<br>
|    are condemned to repeat it."             |<br>
|                        -- George Santayana  |<br>
+---------------------------------------------+<br>
<div class="m_4278663275711832298HOEnZb"><div class="m_4278663275711832298h5"><br>
_______________________________________________<br>
Container-tools mailing list<br>
<a href="mailto:Container-tools@redhat.com" target="_blank">Container-tools@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/container-tools" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/container-tools</a><br>
</div></div></blockquote></div></div></div>
_______________________________________________<br>
Container-tools mailing list<br>
<a href="mailto:Container-tools@redhat.com" target="_blank">Container-tools@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/container-tools" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/container-tools</a><br>
</blockquote></div></div><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature">Thanks,
Steve Speicher
Red Hat OpenShift
Sent from Gmail Mobile</div>