k3s/examples/guestbook-go/_src
Piotr Szczesniak ff0316dd71 Rewrote guestbook-go example to use kube-dns
This is follow up of #5284.

I also built a new kubernetes/guestbook:v2 image.
2015-03-18 12:07:16 +01:00
..
guestbook
public
script Rewrote guestbook-go example to use kube-dns 2015-03-18 12:07:16 +01:00
Dockerfile examples/guestbook-go: build from source and remove bin/docker dep 2014-09-25 16:34:20 -07:00
README.md Update README.md 2014-09-26 06:01:59 +05:30
main.go Rewrote guestbook-go example to use kube-dns 2015-03-18 12:07:16 +01:00

README.md

Building and releasing Guestbook Image

This process employs building two docker images, one compiles the source and the other hosts the compiled binaries.

Releasing the image requires that you have access to the docker registry user account which will host the image.

To build and release the guestbook image:

cd examples/guestbook-go/_src
./script/release.sh

Step by step

If you may want to, you can build and push the image step by step.

Start fresh before building
./script/clean.sh 2> /dev/null
Build

Builds a docker image that builds the app and packages it into a minimal docker image

./script/build.sh
Push

Accepts an optional tag (defaults to "latest")

./script/push.sh [TAG]
Clean up
./script/clean.sh