In my series about Modern Infrastructure for your Virtual Development Server I will now start my Server with Vagrant in VirtualBox on Windows. Again I will use Jenkins as example for this. See how this works.
After my 2016 series about my Virtual Development Server I have learned a lot. It’s time for a major overhaul with new technologies. It should be a lot more flexible and usable for development and course environments. See how I will restart!
Yes - I did it again and attend Javaland, conference in Phantasialand Brühl. It was not easy this year to concentrate on the sessions because of the hottest march of the last 100 years. But the quality of the sessions beats the weather. Maybe again my invest in reading the abstracts and filter the sessions before the conference has payed off.
We now try to automate the build of all needed images as soon as Oracle GitHub Sources changed or we need to build our Vagrant VirtualBox again from scratch.
For automation of all of my processes I need Jenkins in my development server. First I had installed Jenkins as Docker container via Vagrant Docker provider. But with this architecture it was very complicated to create docker images and run Docker containers on the Docker host, in this case my Vagrant Virtualbox. So for simplification I have decided to install Jenkins with the provisioning of the Vagrant Virtualbox via a shell provider in my Vagrantfile.
For later creation of containers as needed in the deployment process we have first to build docker images whenever we do not find suitable one in docker hub.
As I want later build Oracle docker images, some of this need a swapfile. Per default my used Vagrantbox does not have one, so later steps will fail.
As I want later build docker images and run docker containers I have to provide enough ram and disk space for this. Per default the Vagrantboxes have vmdk disks, these have a static size and are to small for my purposes.
As I want to decouple my development server from my computer as much as possible I want to create first a virtual machine with linux.