Update source build docs

This commit is contained in:
Kenjiro Nakayama 2017-06-29 10:54:47 +09:00
parent 0b0fd408c4
commit 2a23ab6f25
1 changed files with 2 additions and 9 deletions

View File

@ -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`:
``` 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
$ cd packer
```
2. Bootstrap the project. This will download and compile libraries and tools
needed to compile Packer:
``` shell
$ make bootstrap
```
3. Build Packer for your current system and put the
2. Build Packer for your current system and put the
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
cross-compiled targets).