-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathVagrantfile
More file actions
38 lines (35 loc) · 1.24 KB
/
Vagrantfile
File metadata and controls
38 lines (35 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.network "private_network", ip: "192.168.33.10"
config.vm.provision "shell", inline: <<-SHELL
apt-get update
apt-get upgrade --assume-yes
apt-get install --assume-yes \
git \
vim \
linux-image-extra-$(uname -r) \
linux-image-extra-virtual \
apt-transport-https \
ca-certificates \
curl \
software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
apt-get update
apt-get install --assume-yes docker-ce
apt-get autoremove --assume-yes
wget -qO- https://raw.githubusercontent.com/vantage-org/vantage/master/bootstrap | sh
vantage __plugins install redis
mkdir -p /vagrant/.env
touch /vagrant/.env/default
chown -R vagrant:vagrant /vagrant/.env
groupadd docker
usermod -aG docker vagrant
docker pull python:3.6-onbuild
SHELL
end