Skip to content
This repository has been archived by the owner on Aug 20, 2022. It is now read-only.

Commit

Permalink
Dockerfile: install and use ca-certificates
Browse files Browse the repository at this point in the history
  • Loading branch information
pepakriz authored and marekaf committed May 2, 2020
1 parent 1beb3f1 commit 0cd9c5e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ FROM golang:1.14-alpine as builder
RUN set -eux \
&& apk add --update --no-cache \
make \
ca-certificates \
&& mkdir -p /build

WORKDIR /build
Expand All @@ -13,4 +14,5 @@ RUN set -eux \

FROM scratch
COPY --from=builder /build/bin/cloudlint /usr/bin/cloudlint
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
ENTRYPOINT ["/usr/bin/cloudlint"]

0 comments on commit 0cd9c5e

Please sign in to comment.