summaryrefslogtreecommitdiffstats
path: root/roles/dns/templates/Dockerfile
diff options
context:
space:
mode:
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"]