static-toolbox/Vagrantfile
takeshix ac79dfa852 Changed Vagrantfile settings
Adjusted the vagrant settings to try to improve the building
performance:

* Moved from ubuntu/xenial64 to ubuntu/artful64
* 4096M memory
* 4 CPUs
2018-04-19 22:45:07 +02:00

26 lines
810 B
Ruby

# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/artful64"
config.vm.provider "virtualbox" do |vb|
vb.memory = "4096"
vb.cpus = 4
end
config.vm.provision "shell", inline: <<-SHELL
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
echo "deb https://apt.dockerproject.org/repo ubuntu-xenial main" > /etc/apt/sources.list.d/docker.list
apt update
apt install -y linux-image-extra-$(uname -r) linux-image-extra-virtual
apt install -y docker-engine
service docker start
apt install -y python3-pip
pip3 install --upgrade pip
pip3 install docker-compose
systemctl daemon-reload
systemctl restart docker
apt install -y qemu
SHELL
end