# syntax = docker/dockerfile:1.4 FROM alpine:3.21.2@sha256:56fa17d2a7e7f168a043a2712e63aed1f8543aeafdcee47c58dcffe38ed51099 as RUN # Add runtime dependencies # - tzdata: Go time required external dependency eg: TRANSIP and possibly others # - ca-certificates: Needed for https to work properly RUN apk update && apk add --no-cache tzdata ca-certificates && update-ca-certificates COPY dnscontrol /usr/local/bin/ WORKDIR /dns ENTRYPOINT ["/usr/local/bin/dnscontrol"]