Jenkins slave stuffed with Hashicorp Otto, Vagrant and Packer with Virtualbox!
2.9K
Container stuffed with Hashicorp Otto, Vagrant and Packer with Virtualbox!
This slave can be used to build Vagrant-Virtualbox boxes in several independent containers on the same host.
Requirements:
Software:
In short, you can use Vagrant and Packer inside a Jenkins slave.
First start a master!
$ docker run -d -p 8090:8080 --name jenkins_jenkins_1 blacklabelops/jenkins
This will pull the my jenkins container ready with swarm plugin and ready-to-use!
Now start the build slave!
$ docker run -d \
--privileged=true \
--link jenkins_jenkins_1:jenkins \
-v /dev/vboxdrv:/dev/vboxdrv \
blacklabelops/hashicorp-virtualbox
Mounts the hosts binaries. MUST use privileged mode, MUST mount host directory.
Content type
Image
Digest
sha256:6ee0cffb7…
Size
608.5 MB
Last updated
over 9 years ago
docker pull blacklabelops/hashicorp-virtualbox