Elektra
0.8.21
|
This Vagrantfile provisions a machine based on debian/jessie64 with all tools to build Elektra.
If Vagrant is installed on your machine change to the directory containing the file you are currently reading and build a box for vagrant with
This will take some time, but when its done you have a new vagrantbox as you can verify with vagrant box list
. Amongst your boxes you should see the box buildelektra
.
You can now set up a new VM from this box easily: Enter a directory where you want to set up the VM
When the machine is running, access it with
In this SSH session you can interact with the machine.
By default Vagrant synchronizes the folder on the host machine containing the vagrantfile with the folder /vagrant
in the VM. Therefore we will build a .deb package of Elektra in this folder.
When you are done leave the VM with CTRL-D
. The folder should now contain the created .deb file.
You can either shut the VM down with vagrant halt
or delete it with vagrant destroy
.