1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

CHORE: Add runtime dependencies for container (#2434)

Signed-off-by: Grant Slater <github@firefishy.com>
This commit is contained in:
Grant
2023-06-12 14:27:58 +03:00
committed by GitHub
parent 68084726c0
commit bd81bb36a3

View File

@ -2,10 +2,13 @@
FROM alpine:3.18.0@sha256:02bb6f428431fbc2809c5d1b41eab5a68350194fb508869a33cb1af4444c9b11 as RUN FROM alpine:3.18.0@sha256:02bb6f428431fbc2809c5d1b41eab5a68350194fb508869a33cb1af4444c9b11 as RUN
#RUN --mount=type=cache,target=/var/cache/apk \ # Add runtime dependencies
# apk update \ # - tzdata: Go time required external dependency eg: TRANSIP and possibly others
# && apk add ca-certificates \ # - ca-certificates: Needed for https to work properly
# && update-ca-certificates RUN --mount=type=cache,target=/var/cache/apk \
apk update \
&& apk add tzdata ca-certificates \
&& update-ca-certificates
COPY dnscontrol /usr/local/bin/ COPY dnscontrol /usr/local/bin/