docker-edns/Dockerfile

17 lines
242 B
Docker

FROM alpine:3.20
RUN apk --no-cache add \
socat
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" ]