Skip to content

Commit

Permalink
🚀add certificates in docker image (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
arnef authored Nov 22, 2021
1 parent 6102fcf commit df14ab8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion DockerfileCI
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
FROM golang:alpine as build
RUN apk --no-cache add tzdata git
RUN apk --no-cache add tzdata git ca-certificates

FROM scratch as final
COPY overtime overtime
COPY --from=build /usr/share/zoneinfo /usr/share/zoneinfo
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
USER 7000
ENTRYPOINT ["/overtime"]

0 comments on commit df14ab8

Please sign in to comment.