This repository is typically for the purposes of internal testing and demonstration based on hashicorp/best-practices to build Amazon EC2 (AMI), Docker and VirtualBox but I'm keenly aware people are using it for theirs so You're always welcome to make suggestions, however I may decline if it's not of personal value to me 😄
Required software
- Packer (>=0.8.5) : http://packer.io
- Vagrant (>=1.7.4) : https://www.vagrantup.com/
- Virtual Box (>=5.0.2) : https://www.virtualbox.org/
Build AWS
$ cd packer
$ packer build --only=amazon-ebs ./packer/aws/base.json
Build Docker
$ cd packer
$ packer build --only= ./packer/docker/base.json
Build VirtualBox
$ cd packer
$ packer build --only=virtualbox-iso vagrant/base.json
Add Vagrant box
Give box's name you would like to use:
$ vagrant box add <box name> /path/to/~.box
$ vagrant up
Run release
script:
$ ./utils/release.sh
- CentOS 7
- Amazon EC2 (AMI)
- Docker
- VirtualBox
MIT © Sota Yamashita