Skip to content

Commit

Permalink
Merge pull request #2 from marcelblijleven/feature/add-ssl
Browse files Browse the repository at this point in the history
feat: add ca-certificates
  • Loading branch information
marcelblijleven authored Jan 13, 2022
2 parents bd33e77 + f4ba25c commit b9596cc
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:alpine as builder
LABEL maintainer="Marcel Blijleven <[email protected]>"

RUN apk update && apk add --no-cache git
RUN apk --no-cache add ca-certificates

WORKDIR /app

Expand All @@ -20,5 +21,6 @@ FROM ubuntu:latest
WORKDIR /root/

COPY --from=builder /app/main .
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs

ENTRYPOINT ["./main"]

0 comments on commit b9596cc

Please sign in to comment.