Explorar o código

created start script.

Tomi Cvetic %!s(int64=6) %!d(string=hai) anos
pai
achega
c6dda19dee
Modificáronse 2 ficheiros con 4 adicións e 1 borrados
  1. 1 1
      Dockerfile
  2. 3 0
      scripts/start.sh

+ 1 - 1
Dockerfile

@@ -7,4 +7,4 @@ EXPOSE 53/udp
 
 VOLUME ["/etc/bind/zones", "/etc/bind/keys", "/etc/bind/scripts"]
 
-CMD /usr/sbin/named -g -u named -d 11
+CMD scripts/start.sh

+ 3 - 0
scripts/start.sh

@@ -0,0 +1,3 @@
+#!/bin/sh
+
+named -g -u named -d 11