mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-12-10 06:06:09 +08:00
MAINT: docker: Add CA certificates to Docker image (#1523)
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
This commit is contained in:
parent
6c1ba6e70b
commit
31a279b82c
1 changed files with 4 additions and 0 deletions
|
|
@ -1,3 +1,7 @@
|
||||||
|
FROM alpine as alpine
|
||||||
|
RUN apk add -U --no-cache ca-certificates
|
||||||
|
|
||||||
FROM scratch
|
FROM scratch
|
||||||
|
COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
|
||||||
ENTRYPOINT ["/dnscontrol"]
|
ENTRYPOINT ["/dnscontrol"]
|
||||||
COPY dnscontrol /
|
COPY dnscontrol /
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue