mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-11 09:59:59 +08:00
68f0de49e2
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
14 lines
471 B
Docker
14 lines
471 B
Docker
# syntax = docker/dockerfile:1.4
|
|
|
|
FROM alpine:3.18.3@sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 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"]
|