2013-03-23 01:41:53 -04:00
|
|
|
# Packer
|
|
|
|
|
|
|
|
Packer is a tool for building identical machine images across multiple clouds.
|
|
|
|
|
|
|
|
Packer provides a framework and configuration format for creating identical
|
|
|
|
machine images to launch into any environment, such as VirtualBox, VMware,
|
|
|
|
Amazon EC2, etc. Because this build process is automated, you can develop in
|
|
|
|
VirtualBox, then deploy to EC2 with an identical image.
|
|
|
|
|
2013-03-23 03:48:20 -04:00
|
|
|
## Developing Packer
|
2013-03-23 01:41:53 -04:00
|
|
|
|
2013-03-23 03:48:20 -04:00
|
|
|
If you wish to work on Packer itself, you'll first need [Go](http://golang.org)
|
|
|
|
installed. Next, clone this repository and source "setup.sh" in your shell. This
|
|
|
|
will set up the environmental variables properly to work on Packer. After
|
|
|
|
that, just run `make`. Commands:
|
|
|
|
|
|
|
|
```
|
|
|
|
$ source setup.sh
|
2013-03-23 03:49:09 -04:00
|
|
|
...
|
2013-03-23 03:48:20 -04:00
|
|
|
$ make
|
2013-03-23 03:49:09 -04:00
|
|
|
...
|
|
|
|
$ bin/packer --version
|
2013-03-23 03:48:20 -04:00
|
|
|
```
|