_src

command
v1.2.4-rancher2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2016 License: Apache-2.0 Imports: 7 Imported by: 0

README

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

Analytics

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL