Bind / Named in a container
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

19 lines
345 B

  1. FROM basessh
  2. MAINTAINER Dave P
  3. # Bind setup script
  4. COPY regen-bind-key /start.d/regen-bind-key
  5. # Supervisor script
  6. COPY bind.conf /etc/supervisor/conf.d/bind.conf
  7. # Install software
  8. RUN apt-get update ; \
  9. apt-get install -y bind9 dnsutils ; \
  10. rm /etc/bind/rndc.key ; \
  11. chmod +x /start.d/regen-bind-key
  12. # DNS port
  13. EXPOSE 53/udp