This project produces an Ubuntu OS Vagrant box, which is built using Hashicorp Packer for consumption by Hashicorp Vagrant, tailored to run on VirtualBox. The box is provisioned using Ansible, and aims to provide developers with an environment containing some of the most common development tools and packages.
This will install:
- Intellij Community Edition
- Spring Tool Suite
- Cloud Foundry CLI
- BOSH 2.0 CLI
- and a number of other supporting development tools.
To validate the packer configuration, navigate to the root of the project and run:
packer validate development-environment-base.json
To build the project, navigate to the root of the project and run:
packer build development-environment-base.json
You'll need to set the
ATLAS_NAME environment variables to push this artefact up to Vagrant Cloud
Prerequisites - Minimum Hardware
- 8GB RAM (by default 4GB is allocated to the VM, see Getting Started to increase this)
- 30GB disk space (not all will be allocated immediately)
Starting the VM
Included is a basic Vagrantfile, run:
See Vagrant cli commands for more information.
Customising the hardware requirements
The following environment variables can be set to tune the development environment.
||How many CPU cores to allocate||2|
||The number of monitors to use||1|
||How much memory, in MB, to allocate||4096|
Credit to @geerlingguy for his image, on which this is based