forked from trainline-eu/docker-ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
22 lines (18 loc) · 927 Bytes
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Vagrant.configure(2) do |config|
config.vm.box = "williamyeh/ubuntu-trusty64-docker"
config.vm.provision "shell", inline: <<-SHELL
cd /vagrant
docker build -t ansible:ubuntu16.04 ubuntu16.04
docker build -t ansible:ubuntu14.04 ubuntu14.04
docker build -t ansible:debian9 debian9
docker build -t ansible:debian8 debian8
docker build -t ansible:centos7 centos7
docker build -t ansible:alpine3 alpine3
docker build -t ansible:ubuntu16.04-onbuild ubuntu16.04-onbuild
docker build -t ansible:ubuntu14.04-onbuild ubuntu14.04-onbuild
docker build -t ansible:debian9-onbuild debian9-onbuild
docker build -t ansible:debian8-onbuild debian8-onbuild
docker build -t ansible:centos7-onbuild centos7-onbuild
docker build -t ansible:alpine3-onbuild alpine3-onbuild
SHELL
end