Skip to content
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
39 lines (29 sloc) 1.13 KB
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| = "ubuntu/bionic64"
config.vm.provider "virtualbox" do |v| = "openapi-generator"
v.memory = 2048
v.cpus = 2
config.vm.box_check_update = true
config.ssh.forward_agent = true = "bash -c 'BASH_ENV=/etc/profile exec bash'"
config.vm.provision "shell", inline: <<-SHELL
sudo apt-get update
sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common
curl -fsSL | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] \
$(lsb_release -cs) stable"
sudo sh -c 'echo "deb ubuntu-cosmic main" > /etc/apt/sources.list.d/docker.list'
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install -y docker-ce
sudo usermod -aG docker vagrant
You can’t perform that action at this time.