separate the image build and export phases

That way the export can be just a single tar, which is more
convenient. And without introducing unnecessary image builds.
This commit is contained in:
Matthias Radestock committed 2015-06-24 02:54:45 +01:00
1 parent 0ce123e63a
commit ae1805de76
4 files changed
+25 -24

No files matched your search

+4 -7
View File
@@ -57,8 +57,7 @@ $ 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`,
`weavedns.tar` and `weaveexec.tar`).
`weaveworks/weaveexec`). These are then exported as `weave.tar`.
## Building in a Docker container
@@ -171,15 +170,13 @@ you can do so with
$ vagrant ssh -c 'make -C src/github.com/weaveworks/weave'
```
you should then find container snapshot tarballs in the top-level
directory. You can use these snapshots with `docker load` against a
different host, e.g.
you should then find a `weave.tar` container snapshot tarball in the
top-level directory. You can use that snapshot with `docker load`
against a different host, e.g.
```bash
$ export DOCKER_HOST=tcp://<HOST:PORT>
$ docker load < weave.tar
$ docker load < weavedns.tar
$ docker load < weaveexec.tar
```
You can provide extra Vagrant configuration by putting a file