forked from cytopia/docker-bind
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
37 lines (29 loc) · 636 Bytes
/
Dockerfile
File metadata and controls
37 lines (29 loc) · 636 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
FROM debian:buster-slim
MAINTAINER "cytopia" <cytopia@everythingcli.org>
###
### Install
###
RUN set -x \
&& apt-get update \
&& apt-get install --no-install-recommends --no-install-suggests -y \
bind9 \
dnsutils \
iputils-ping \
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps \
&& rm -r /var/lib/apt/lists/* \
&& mkdir /var/log/named \
&& chown bind:bind /var/log/named \
&& chmod 0755 /var/log/named
###
### Bootstrap Scipts
###
COPY ./data/docker-entrypoint.sh /
###
### Ports
###
EXPOSE 53
EXPOSE 53/udp
####
#### Entrypoint
####
ENTRYPOINT ["/docker-entrypoint.sh"]