2019-02-04 16:40:10 +01:00
|
|
|
# -*- mode: ruby -*-
|
|
|
|
# vi: set ft=ruby :
|
|
|
|
|
|
|
|
Vagrant.configure("2") do |config|
|
2019-02-04 17:50:25 +01:00
|
|
|
config.vm.box = "ubuntu/bionic64"
|
2019-02-04 16:40:10 +01:00
|
|
|
|
|
|
|
config.vm.provider "virtualbox" do |vb|
|
2019-02-04 17:50:25 +01:00
|
|
|
vb.memory = "512"
|
2019-02-04 16:40:10 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
config.vm.provision "shell", inline: <<-SHELL
|
2019-02-04 17:50:25 +01:00
|
|
|
sudo apt-get update
|
|
|
|
sudo apt-get install -y python-pip
|
2019-02-04 16:40:10 +01:00
|
|
|
su vagrant && sudo -H pip install docopt pygments termcolor flake8
|
|
|
|
cd /vagrant && sudo python setup.py install
|
|
|
|
SHELL
|
|
|
|
end
|