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
|
|
|
|
|
2019-02-07 19:34:20 +01:00
|
|
|
config.vm.provision "shell", privileged: false, inline: <<-SHELL
|
2019-02-04 17:50:25 +01:00
|
|
|
sudo apt-get update
|
|
|
|
sudo apt-get install -y python-pip
|
2019-02-07 19:34:20 +01:00
|
|
|
sudo -H pip install flake8
|
|
|
|
pip install --user docopt pygments termcolor
|
|
|
|
cd /vagrant/ && python setup.py install --user
|
|
|
|
echo 'export PATH=$PATH:/home/vagrant/.local/bin' >> /home/vagrant/.bashrc
|
2019-02-04 16:40:10 +01:00
|
|
|
SHELL
|
2019-02-07 19:34:20 +01:00
|
|
|
|
2019-02-04 16:40:10 +01:00
|
|
|
end
|