Skip to content

Commit

Permalink
ca certs
Browse files Browse the repository at this point in the history
  • Loading branch information
chwzr committed Mar 18, 2021
1 parent 5889069 commit 25f5c54
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 @@ -18,6 +18,8 @@ RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags="-w -s" -o /go/bin/s
# STEP 2 build a small image
############################
FROM scratch
# copy ca certs for letsencrypt to work
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
# Copy our static executable.
COPY --from=builder /go/bin/sfhb /sfhb
# Run the hello binary.
Expand Down

0 comments on commit 25f5c54

Please sign in to comment.