Skip to content

Commit

Permalink
add ssl certificates for Docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Kibish committed May 2, 2021
1 parent 29fca9c commit 031f580
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ddns .

# Now create a new stage and only copy the binary we need (keeps the container small)
FROM scratch
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=builder /app/ddns /

ENTRYPOINT ["/ddns"]

0 comments on commit 031f580

Please sign in to comment.