mirror of https://github.com/cheat/cheat.git
commit
2728ce4757
|
@ -2,15 +2,15 @@
|
||||||
# vi: set ft=ruby :
|
# vi: set ft=ruby :
|
||||||
|
|
||||||
Vagrant.configure("2") do |config|
|
Vagrant.configure("2") do |config|
|
||||||
config.vm.box = "alpine/alpine64"
|
config.vm.box = "ubuntu/bionic64"
|
||||||
|
|
||||||
config.vm.provider "virtualbox" do |vb|
|
config.vm.provider "virtualbox" do |vb|
|
||||||
vb.memory = "256"
|
vb.memory = "512"
|
||||||
end
|
end
|
||||||
|
|
||||||
config.vm.provision "shell", inline: <<-SHELL
|
config.vm.provision "shell", inline: <<-SHELL
|
||||||
sudo apk update
|
sudo apt-get update
|
||||||
sudo apk add py-pip
|
sudo apt-get install -y python-pip
|
||||||
su vagrant && sudo -H pip install docopt pygments termcolor flake8
|
su vagrant && sudo -H pip install docopt pygments termcolor flake8
|
||||||
cd /vagrant && sudo python setup.py install
|
cd /vagrant && sudo python setup.py install
|
||||||
SHELL
|
SHELL
|
||||||
|
|
Loading…
Reference in New Issue