Merge pull request #5081 from nak3/update-source-build-docs

Update source build docs
This commit is contained in:
Megan Marsh 2017-06-29 10:32:47 -07:00 committed by GitHub
commit 7896bcb48d
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).