2022-08-13 04:08:16 +08:00
|
|
|
# syntax = docker/dockerfile:1.4
|
2022-06-03 22:39:57 +08:00
|
|
|
|
2024-08-06 04:36:04 +08:00
|
|
|
FROM alpine:3.20.2@sha256:0a4eaa0eecf5f8c050e5bba433f58c052be7587ee8af3e8b3910ef9ab5fbe9f5 as RUN
|
2023-08-08 23:41:30 +08:00
|
|
|
|
2023-06-12 19:27:58 +08:00
|
|
|
# Add runtime dependencies
|
|
|
|
# - tzdata: Go time required external dependency eg: TRANSIP and possibly others
|
|
|
|
# - ca-certificates: Needed for https to work properly
|
2023-08-22 01:00:56 +08:00
|
|
|
RUN apk update && apk add --no-cache tzdata ca-certificates && update-ca-certificates
|
2022-06-16 04:17:44 +08:00
|
|
|
|
2022-08-13 04:08:16 +08:00
|
|
|
COPY dnscontrol /usr/local/bin/
|
2022-06-16 04:17:44 +08:00
|
|
|
|
|
|
|
WORKDIR /dns
|
|
|
|
|
|
|
|
ENTRYPOINT ["/usr/local/bin/dnscontrol"]
|