dnscontrol/Dockerfile
dependabot[bot] 194c4711a8
Build(deps): Bump alpine from 3.18.2 to 3.18.3 (#2502)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2023-08-15 17:46:15 -04:00

17 lines
597 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 --mount=type=cache,target=/var/cache/apk apk update
RUN --mount=type=cache,target=/var/cache/apk apk add --no-cache tzdata ca-certificates
RUN --mount=type=cache,target=/var/cache/apk update-ca-certificates
COPY dnscontrol /usr/local/bin/
WORKDIR /dns
ENTRYPOINT ["/usr/local/bin/dnscontrol"]