Update source build docs
This commit is contained in:
parent
0b0fd408c4
commit
2a23ab6f25
|
@ -41,19 +41,12 @@ as a copy of [`git`](https://www.git-scm.com/) in your `PATH`.
|
||||||
1. Clone the Packer repository from GitHub into your `GOPATH`:
|
1. Clone the Packer repository from GitHub into your `GOPATH`:
|
||||||
|
|
||||||
``` shell
|
``` shell
|
||||||
$ mkdir -p $GOPATH/src/github.com/hashicorp && cd $!
|
$ mkdir -p $GOPATH/src/github.com/hashicorp && cd $_
|
||||||
$ git clone https://github.com/hashicorp/packer.git
|
$ git clone https://github.com/hashicorp/packer.git
|
||||||
$ cd packer
|
$ cd packer
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Bootstrap the project. This will download and compile libraries and tools
|
2. Build Packer for your current system and put the
|
||||||
needed to compile Packer:
|
|
||||||
|
|
||||||
``` shell
|
|
||||||
$ make bootstrap
|
|
||||||
```
|
|
||||||
|
|
||||||
3. Build Packer for your current system and put the
|
|
||||||
binary in `./bin/` (relative to the git checkout). The `make dev` target is
|
binary in `./bin/` (relative to the git checkout). The `make dev` target is
|
||||||
just a shortcut that builds `packer` for only your local build environment (no
|
just a shortcut that builds `packer` for only your local build environment (no
|
||||||
cross-compiled targets).
|
cross-compiled targets).
|
||||||
|
|
Loading…
Reference in New Issue