mirror of
https://github.com/danbulant/api_docs
synced 2026-06-20 23:01:35 +00:00
Update Vagrantfile to Ubuntu 18.04 (#1158)
* Slate 2.4 breaks vagrant * Update Vagrantfile * Update Vagrantfile
This commit is contained in:
parent
2019c63b83
commit
eb01f40ec2
1 changed files with 3 additions and 4 deletions
7
Vagrantfile
vendored
7
Vagrantfile
vendored
|
|
@ -1,5 +1,5 @@
|
||||||
Vagrant.configure(2) do |config|
|
Vagrant.configure(2) do |config|
|
||||||
config.vm.box = "ubuntu/trusty64"
|
config.vm.box = "ubuntu/bionic64"
|
||||||
config.vm.network :forwarded_port, guest: 4567, host: 4567
|
config.vm.network :forwarded_port, guest: 4567, host: 4567
|
||||||
config.vm.provider "virtualbox" do |vb|
|
config.vm.provider "virtualbox" do |vb|
|
||||||
vb.memory = "2048"
|
vb.memory = "2048"
|
||||||
|
|
@ -8,12 +8,11 @@ Vagrant.configure(2) do |config|
|
||||||
config.vm.provision "bootstrap",
|
config.vm.provision "bootstrap",
|
||||||
type: "shell",
|
type: "shell",
|
||||||
inline: <<-SHELL
|
inline: <<-SHELL
|
||||||
sudo apt-add-repository ppa:brightbox/ruby-ng
|
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -yq ruby2.4 ruby2.4-dev
|
sudo apt-get install -yq ruby ruby-dev
|
||||||
sudo apt-get install -yq pkg-config build-essential nodejs git libxml2-dev libxslt-dev
|
sudo apt-get install -yq pkg-config build-essential nodejs git libxml2-dev libxslt-dev
|
||||||
sudo apt-get autoremove -yq
|
sudo apt-get autoremove -yq
|
||||||
gem2.4 install --no-ri --no-rdoc bundler
|
gem install --no-ri --no-rdoc bundler
|
||||||
SHELL
|
SHELL
|
||||||
|
|
||||||
# add the local user git config to the vm
|
# add the local user git config to the vm
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue