mirror of
https://github.com/koenrh/dnscontrol-action.git
synced 2025-01-19 21:49:26 +08:00
2c0566b35e
Bump alpine from 3.16.0 to 3.16.2
26 lines
1 KiB
Docker
26 lines
1 KiB
Docker
FROM alpine:3.16.2@sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad
|
|
|
|
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.18.1"
|
|
ENV DNSCONTROL_CHECKSUM="a8a2582b8bb4a32e70f3cabfdfea8b53c2a420bd1714332af15d52f69092fb21"
|
|
|
|
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"]
|