We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2eb2d2a commit 52447daCopy full SHA for 52447da
keyword-matcher-go/Dockerfile
@@ -14,7 +14,13 @@ COPY cmd ./cmd
14
RUN CGO_ENABLED=0 go build -a -ldflags '-s' -o goapp.bin ./cmd
15
16
17
+# https://github.com/drone/ca-certs/blob/master/Dockerfile
18
+FROM alpine:3.6 as alpine
19
+RUN apk add -U --no-cache ca-certificates
20
+
21
22
FROM scratch
23
+COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
24
COPY --from=builder /app/goapp.bin /goapp.bin
25
26
CMD [ "./goapp.bin" ]
0 commit comments