mirror of
https://github.com/koenrh/dnscontrol-action.git
synced 2025-01-04 06:12:44 +08:00
f3e47a483f
Bump alpine from 3.16.2 to 3.17.0
26 lines
1 KiB
Docker
26 lines
1 KiB
Docker
FROM alpine:3.17.0@sha256:8914eb54f968791faf6a8638949e480fef81e697984fba772b3976835194c6d4
|
|
|
|
LABEL repository="https://github.com/koenrh/dnscontrol-action"
|
|
LABEL maintainer="Koen Rouwhorst <info@koenrouwhorst.nl>"
|
|
|
|
LABEL "com.github.actions.name"="DNSControl"
|
|
LABEL "com.github.actions.description"="Deploy your DNS configuration to multiple providers."
|
|
LABEL "com.github.actions.icon"="cloud"
|
|
LABEL "com.github.actions.color"="yellow"
|
|
|
|
ENV DNSCONTROL_VERSION="3.23.0"
|
|
ENV DNSCONTROL_CHECKSUM="1c8eb2aba6e543d29f922fb3128bb37a87372ba70f2c3acb660b660a4bc7806f"
|
|
|
|
RUN apk -U --no-cache upgrade && \
|
|
apk add --no-cache bash ca-certificates curl libc6-compat
|
|
|
|
RUN curl -sL "https://github.com/StackExchange/dnscontrol/releases/download/v$DNSCONTROL_VERSION/dnscontrol-Linux" \
|
|
-o dnscontrol && \
|
|
echo "$DNSCONTROL_CHECKSUM dnscontrol" | sha256sum -c - && \
|
|
chmod +x dnscontrol && \
|
|
mv dnscontrol /usr/local/bin/dnscontrol
|
|
|
|
RUN ["dnscontrol", "version"]
|
|
|
|
COPY README.md entrypoint.sh bin/filter-preview-output.sh /
|
|
ENTRYPOINT ["/entrypoint.sh"]
|