Ubuntu based Vagrant box with Java development tools pre-installed.
The Vagrant box sivalabs/ubuntu_bionic64_java is build using Packer and published on Vagrant Cloud: https://app.vagrantup.com/sivalabs/boxes/ubuntu_bionic64_java
Vagrantfile
Vagrant.configure("2") do |config|
config.vm.box = "sivalabs/ubuntu_bionic64_java"
config.vm.box_version = "0.0.1"
end
The following tools are pre-installed:
- SDKMAN
- JDK 8 and JDK 11
- Maven using SDKMAN
- Gradle using SDKMAN
- Docker, Docker Compose
- jq
java-dev-vagrant-box> packer build packer.json
After creating the box you can upload it through Web UI https://app.vagrantup.com/boxes/new or using API https://www.vagrantup.com/docs/vagrant-cloud/api.html#create-a-box