1 2 3 4 5 6 7 8 9 10 11 12
FROM docker.io/library/alpine:latest COPY dnsmasq.conf /etc/dnsmasq.conf RUN apk add --no-cache dnsmasq dumb-init EXPOSE 53 53/udp ENTRYPOINT ["/usr/bin/dumb-init", "--"] CMD ["dnsmasq", "--keep-in-foreground"]