docker-edns/Dockerfile
2024-12-20 16:56:35 +01:00

18 lines
259 B
Docker

FROM alpine:3.20
RUN apk --no-cache add \
socat \
bind-tools
COPY --chmod=755 ./entrypoint.sh /usr/local/bin/entrypoint
RUN addgroup -S edns \
&& adduser -S edns -G edns
USER edns
EXPOSE 11053/udp
ENTRYPOINT [ "entrypoint" ]
CMD [ "-any" ]