From ecab4b4716e1234cd6dc287395b932a838d078f4 Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Mon, 4 Jan 2016 09:35:17 +0000 Subject: [PATCH 1/2] correct image names --- site/building.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/building.md b/site/building.md index a94ace3b..c712fd1f 100644 --- a/site/building.md +++ b/site/building.md @@ -53,8 +53,8 @@ $ make ``` This will build the weave components and package them into three -Docker images (`weaveworks/weave`, `weaveworks/weavedns`, and -`weaveworks/weaveexec`). These are then exported as `weave.tar.gz`. +Docker images (`weaveworks/weave`, `weaveworks/weaveexec`, and +`weaveworks/plugin`). These are then exported as `weave.tar.gz`. ## Building in a Docker container From 9c17fe259c58d15fc81edc76c6d5b5ebc12efab1 Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Mon, 4 Jan 2016 09:41:39 +0000 Subject: [PATCH 2/2] add ToC to build instructions --- site/building.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/site/building.md b/site/building.md index c712fd1f..f1783e2d 100644 --- a/site/building.md +++ b/site/building.md @@ -21,7 +21,11 @@ You can also build in a container under any system that supports Docker. And you can run Ubuntu in a VM and build there. These options are described below. -## Building directly on Ubuntu + * [Building directly on Ubuntu](#ubuntu) + * [Building in a Docker container](#docker) + * [Building using Vagrant](#vagrant) + +## Building directly on Ubuntu The weave git repository should be cloned into `$GOPATH/src/github.com/weaveworks/weave`, in accordance with [the go @@ -56,7 +60,7 @@ This will build the weave components and package them into three Docker images (`weaveworks/weave`, `weaveworks/weaveexec`, and `weaveworks/plugin`). These are then exported as `weave.tar.gz`. -## Building in a Docker container +## Building in a Docker container As a preliminary step, we create a container image based on Ubuntu that has all the prerequisites. This avoids the need to download and @@ -106,7 +110,7 @@ $ sudo docker run -v /var/run/docker.sock:/var/run/docker.sock -v : This will leave the intermediate build artifacts on the host, so that you can modify the weave source code and rebuild quickly. -## Building using Vagrant +## Building using Vagrant If you aren't running Linux, or otherwise don't want to run the docker daemon outside a VM, you can use