mirror of https://github.com/docker/docs.git
Simplify fetch process by using go get
Signed-off-by: Giuseppe Mazzotta <gdm85@users.noreply.github.com>
This commit is contained in:
parent
a82d2cd74d
commit
7fc4aedd1c
|
@ -34,11 +34,11 @@ To build the `docker-machine` binary using containers, simply run:
|
|||
Make sure the source code directory is under a correct directory structure to use Go 1.5 vendoring;
|
||||
example of cloning and preparing the correct environment `GOPATH`:
|
||||
```
|
||||
mkdir -p projects/docker-machine/src/github.com/docker
|
||||
export GOPATH="$PWD/projects/docker-machine"
|
||||
cd projects/docker-machine/src/github.com/docker
|
||||
git clone https://github.com/docker/machine
|
||||
cd machine
|
||||
mkdir docker-machine
|
||||
cd docker-machine
|
||||
export GOPATH="$PWD"
|
||||
go get github.com/docker/machine
|
||||
cd docker-machine/src/github.com/docker/machine
|
||||
```
|
||||
|
||||
At this point, simply run:
|
||||
|
|
Loading…
Reference in New Issue