-
-
Notifications
You must be signed in to change notification settings - Fork 52
Expand file tree
/
Copy pathDockerfile.stable
More file actions
38 lines (30 loc) · 634 Bytes
/
Dockerfile.stable
File metadata and controls
38 lines (30 loc) · 634 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
38
FROM debian:stable-slim
LABEL org.opencontainers.image.authors="cytopia@everythingcli.org"
ENV \
USER=bind \
GROUP=bind
###
### Install
###
RUN set -eux \
&& apt update \
&& apt install --no-install-recommends --no-install-suggests -y \
bind9 \
&& apt purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
&& 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"]