Commit 7b51698c authored by Gurpartap Singh's avatar Gurpartap Singh

Update README.md

GoogleCloudPlatform/kubernetes#1454
parent 964be369
## Building and releasing Guestbook Image ## Building and releasing Guestbook Image
Guestbook build process employs the usage of docker-in-docker to build an image within another. This requires that the build image has access to the `docker` program's binary, which defaults to the docker available on your host machine. In the case of boot2docker, `DOCKER_BIN` must be set to the binary's location in the boot2docker's vm. 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. Releasing the image requires that you have access to the docker registry user account which will host the image.
...@@ -9,10 +9,6 @@ To build and release the guestbook image: ...@@ -9,10 +9,6 @@ To build and release the guestbook image:
cd examples/guestbook-go/_src cd examples/guestbook-go/_src
./script/release.sh ./script/release.sh
If you're using boot2docker, specify the `DOCKER_BIN` environment variable
DOCKER_BIN="$(boot2docker ssh which docker)" ./script/release.sh
#### Step by step #### Step by step
If you may want to, you can build and push the image step by step. If you may want to, you can build and push the image step by step.
...@@ -27,10 +23,6 @@ Builds a docker image that builds the app and packages it into a minimal docker ...@@ -27,10 +23,6 @@ Builds a docker image that builds the app and packages it into a minimal docker
./script/build.sh ./script/build.sh
If you're using boot2docker, specify the `DOCKER_BIN` environment variable
DOCKER_BIN="$(boot2docker ssh which docker)" ./script/build.sh
###### Push ###### Push
Accepts an optional tag (defaults to "latest") Accepts an optional tag (defaults to "latest")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment