aboutsummaryrefslogblamecommitdiffhomepage
path: root/Vagrantfile
blob: 9e3514bfccc2445d9ff48c93aabb5e0e2b094ca8 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                     
                                                 
                                                 
                                                 
                                                 




                                                                     
                                                                 
                                                                 
 

       
Vagrant.configure(2) do |config|
  config.vm.box = "williamyeh/ubuntu-trusty64-docker"

  config.vm.provision "shell", inline: <<-SHELL
    cd /vagrant

    docker build  -t ansible:ubuntu14.04  ubuntu14.04
    docker build  -t ansible:ubuntu12.04  ubuntu12.04
    docker build  -t ansible:debian8      debian8
    docker build  -t ansible:debian7      debian7
    docker build  -t ansible:centos7      centos7
    docker build  -t ansible:centos6      centos6

    docker build  -t ansible:ubuntu14.04-onbuild  ubuntu14.04-onbuild
    docker build  -t ansible:ubuntu12.04-onbuild  ubuntu12.04-onbuild
    docker build  -t ansible:debian8-onbuild      debian8-onbuild
    docker build  -t ansible:debian7-onbuild      debian7-onbuild
    docker build  -t ansible:centos7-onbuild      centos7-onbuild
    docker build  -t ansible:centos6-onbuild      centos6-onbuild

  SHELL
end