2018-01-30 22:26:44 +00:00
|
|
|
FROM alpine
|
|
|
|
|
|
|
|
LABEL maintainer Knut Ahlers <knut@ahlers.me>
|
|
|
|
|
2019-01-12 16:09:07 +00:00
|
|
|
COPY build.sh /src/
|
|
|
|
COPY requirements.txt /src/
|
2018-01-30 22:26:44 +00:00
|
|
|
|
2018-03-04 12:41:25 +00:00
|
|
|
RUN set -ex \
|
|
|
|
&& apk --no-cache add bash \
|
|
|
|
&& /src/build.sh
|
|
|
|
|
2019-01-12 16:09:07 +00:00
|
|
|
COPY . /src
|
|
|
|
WORKDIR /src
|
|
|
|
|
2018-02-01 08:02:01 +00:00
|
|
|
EXPOSE 53/udp 53
|
2018-01-30 22:26:44 +00:00
|
|
|
|
2018-02-05 07:37:55 +00:00
|
|
|
VOLUME ["/src/zones"]
|
|
|
|
|
2018-03-04 12:41:25 +00:00
|
|
|
ENTRYPOINT ["/src/docker-entrypoint.sh"]
|
2019-01-12 16:09:07 +00:00
|
|
|
CMD ["named", "-g"]
|