added ubuntu 16.04 version

This commit is contained in:
Paul Voss 2016-07-31 10:10:38 +02:00
parent c08a3b4e6c
commit 64cfaea900
3 changed files with 18 additions and 0 deletions

11
Dockerfile.ubuntu-16.04 Normal file
View File

@ -0,0 +1,11 @@
FROM ubuntu:16.04
RUN apt-get update \
&& apt-get install -y software-properties-common \
&& apt-add-repository ppa:ansible/ansible \
&& apt-get update \
&& apt-get install -y \
ansible \
&& apt-get autoclean

7
build.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
docker build -t registry.chmuul.net/ansible-controller:ubuntu-16.04 -f Dockerfile.ubuntu-16.04 ${@} .
docker build -t registry.chmuul.net/ansible-controller:fedora-24 -f Dockerfile.fedora-24 ${@} .
docker push registry.chmuul.net/ansible-controller:ubuntu-16.04
docker push registry.chmuul.net/ansible-controller:fedora-24