summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorAvesh Agarwal <avagarwa@redhat.com>2015-08-13 18:17:11 -0400
committerAvesh Agarwal <avagarwa@redhat.com>2015-08-14 15:29:24 -0400
commit20814f5f16800dbf7956ccf8aa16eb972aeade1c (patch)
tree7a88ab6d03316db7fbba19e3fb3de399445f3971 /Dockerfile
parent4fc01f5d73547da931f8ab822a3709e94280d7b1 (diff)
downloadopenshift-20814f5f16800dbf7956ccf8aa16eb972aeade1c.tar.gz
openshift-20814f5f16800dbf7956ccf8aa16eb972aeade1c.tar.bz2
openshift-20814f5f16800dbf7956ccf8aa16eb972aeade1c.tar.xz
openshift-20814f5f16800dbf7956ccf8aa16eb972aeade1c.zip
Added README_ANSIBLE.md file that contains instructions to build and run
ansible in a docker container, and also modified Dockerfile to replace CMD with ENTRYPOINT to run the container as executable.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile15
1 files changed, 0 insertions, 15 deletions
diff --git a/Dockerfile b/Dockerfile
deleted file mode 100644
index 7fca42b9b..000000000
--- a/Dockerfile
+++ /dev/null
@@ -1,15 +0,0 @@
-FROM rhel7
-
-MAINTAINER Aaron Weitekamp <aweiteka@redhat.com>
-
-RUN yum -y install http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
-
-# Not sure if all of these packages are necessary
-# only git and ansible are known requirements
-RUN yum install -y --enablerepo rhel-7-server-extras-rpms net-tools bind-utils tmux git ansible
-
-RUN git clone https://github.com/openshift/openshift-ansible.git /opt/openshift-ansible
-
-CMD ansible-playbook /opt/openshift-ansible/playbooks/byo/config.yml
-
-LABEL RUN docker run -it --rm --privileged --net=host -v ~/.ssh:/root/.ssh -v /etc/ansible/hosts:/etc/ansible/hosts --name NAME -e NAME=NAME -e IMAGE=IMAGE IMAGE