summaryrefslogtreecommitdiffstats
path: root/roles/dns/templates/Dockerfile
diff options
context:
space:
mode:
authorJason DeTiberus <detiber@gmail.com>2016-05-05 13:08:48 -0400
committerJason DeTiberus <detiber@gmail.com>2016-05-05 13:08:48 -0400
commit2534b73692e16f54ffdd623e305c3cd1f494eff3 (patch)
tree96fca3cb076b2afe87ab7f51c93f4d434e5b5f00 /roles/dns/templates/Dockerfile
parent2f87e0c3f19d313cf16bf91d88a00c7a2938a3d8 (diff)
parentc76ae7d9398e3a04ded06c7e54811ad7a379921a (diff)
downloadopenshift-2534b73692e16f54ffdd623e305c3cd1f494eff3.tar.gz
openshift-2534b73692e16f54ffdd623e305c3cd1f494eff3.tar.bz2
openshift-2534b73692e16f54ffdd623e305c3cd1f494eff3.tar.xz
openshift-2534b73692e16f54ffdd623e305c3cd1f494eff3.zip
Merge pull request #1688 from jprovaznik/dns
Allow containerized deployment of dns role
Diffstat (limited to 'roles/dns/templates/Dockerfile')
-rw-r--r--roles/dns/templates/Dockerfile11
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/dns/templates/Dockerfile b/roles/dns/templates/Dockerfile
new file mode 100644
index 000000000..cdff0a228
--- /dev/null
+++ b/roles/dns/templates/Dockerfile
@@ -0,0 +1,11 @@
+FROM {{ base_docker_image }}
+MAINTAINER Jan Provaznik <jprovazn@redhat.com>
+
+# install main packages:
+RUN yum -y update; yum clean all;
+RUN yum -y install bind-utils bind
+
+EXPOSE 53
+
+# start services:
+CMD ["/usr/sbin/named", "-f"]