Skip to content

Commit 5512a79

Browse files
authored
Merge pull request #14 from artyomLisovskij/patch-1
fix ca-certificate error
2 parents 9c3f7f5 + 6f57941 commit 5512a79

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
FROM golang:alpine AS builder
22

33
RUN apk add --no-cache git && CGO_ENABLED=0 GOOS=linux go get github.com/alash3al/httpsify
4+
RUN apk add -U --no-cache ca-certificates
45

56
FROM scratch
6-
7+
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
78
COPY --from=builder /go/bin/httpsify /go/bin/httpsify
89

910
ENTRYPOINT ["/go/bin/httpsify"]

0 commit comments

Comments
 (0)