mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 18:11:35 +00:00
Simplify the instructions if you already have Go installed
Most use cases can just do `go get`. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
9553bbf514
commit
958dd89891
@ -19,9 +19,10 @@ Moby, a toolkit for building custom minimal, immutable Linux distributions.
|
||||
|
||||
Simple build instructions: use `make` to build. This will build the Moby customisation tool.
|
||||
|
||||
If you already have a Go build environment and installed the source in your `GOPATH`
|
||||
you can do `go install github.com/docker/moby/src/cmd/moby` to install the `moby` tool
|
||||
instead
|
||||
If you already have `go` installed you can use `go get -u github.com/docker/moby/src/cmd/moby` to install
|
||||
the `moby` tool, and then use `moby build moby.yml` to build the example configuration. You
|
||||
can use `go get -u github.com/docker/moby/src/cmd/infrakit-instance-hyperkit` to get the
|
||||
hyperkit infrakit tool.
|
||||
|
||||
Once you have built the tool, use `bin/moby build moby.yml` to build the example configuration,
|
||||
and `bin/moby run moby` to run locally. Use `halt` to terminate on the console.
|
||||
|
Loading…
Reference in New Issue
Block a user