mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-11-10 17:26:10 +08:00
14 lines
353 B
Docker
14 lines
353 B
Docker
# syntax = docker/dockerfile:1.4
|
|
|
|
FROM alpine:3.18.0@sha256:02bb6f428431fbc2809c5d1b41eab5a68350194fb508869a33cb1af4444c9b11 as RUN
|
|
|
|
#RUN --mount=type=cache,target=/var/cache/apk \
|
|
# apk update \
|
|
# && apk add ca-certificates \
|
|
# && update-ca-certificates
|
|
|
|
COPY dnscontrol /usr/local/bin/
|
|
|
|
WORKDIR /dns
|
|
|
|
ENTRYPOINT ["/usr/local/bin/dnscontrol"]
|