k3s/examples/guestbook-go/_src
Matthias Luebken 771354f14a replacing the shell scripts with a Makefile 2016-03-15 09:49:50 +01:00
..
guestbook Add boilerplate checks for Dockerfiles 2016-02-03 18:35:26 -05:00
public Make guestbook-go url paths relative to survive multiple proxies 2015-07-22 15:20:22 -07:00
Dockerfile Fix: add src to correct root path. 2016-02-20 23:25:03 +01:00
Makefile replacing the shell scripts with a Makefile 2016-03-15 09:49:50 +01:00
README.md replacing the shell scripts with a Makefile 2016-03-15 09:49:50 +01:00
main.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00

README.md

WARNING WARNING WARNING WARNING WARNING

PLEASE NOTE: This document applies to the HEAD of the source tree

If you are using a released version of Kubernetes, you should refer to the docs that go with that version.

The latest release of this document can be found [here](http://releases.k8s.io/release-1.1/examples/guestbook-go/_src/README.md).

Documentation for other releases can be found at releases.k8s.io.

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. You can specify the registry including the user account by setting the environment variable REGISTRY.

To build and release the guestbook image:

cd examples/guestbook-go/_src
make release

To build and release the guestbook image with a different registry and version:

VERSION=v4 REGISTRY="docker.io/luebken" make build

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

make clean
make build
make push

Analytics