mirror of
https://github.com/cheat/cheat.git
synced 2024-11-22 14:01:36 +01:00
6ae76799f7
Modified `Vagrantfile` to build an Ubuntu environment rather than Alpine, after the latter exhibited weird behavior.
18 lines
431 B
Ruby
18 lines
431 B
Ruby
# -*- mode: ruby -*-
|
|
# vi: set ft=ruby :
|
|
|
|
Vagrant.configure("2") do |config|
|
|
config.vm.box = "ubuntu/bionic64"
|
|
|
|
config.vm.provider "virtualbox" do |vb|
|
|
vb.memory = "512"
|
|
end
|
|
|
|
config.vm.provision "shell", inline: <<-SHELL
|
|
sudo apt-get update
|
|
sudo apt-get install -y python-pip
|
|
su vagrant && sudo -H pip install docopt pygments termcolor flake8
|
|
cd /vagrant && sudo python setup.py install
|
|
SHELL
|
|
end
|