diff options
author | Jason DeTiberus <detiber@gmail.com> | 2016-05-05 13:08:48 -0400 |
---|---|---|
committer | Jason DeTiberus <detiber@gmail.com> | 2016-05-05 13:08:48 -0400 |
commit | 2534b73692e16f54ffdd623e305c3cd1f494eff3 (patch) | |
tree | 96fca3cb076b2afe87ab7f51c93f4d434e5b5f00 /roles/dns/templates/Dockerfile | |
parent | 2f87e0c3f19d313cf16bf91d88a00c7a2938a3d8 (diff) | |
parent | c76ae7d9398e3a04ded06c7e54811ad7a379921a (diff) | |
download | openshift-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/Dockerfile | 11 |
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"] |