We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 806137d commit f75888aCopy full SHA for f75888a
Dockerfile
@@ -1,6 +1,6 @@
1
-FROM golang:1.25-alpine AS builder
+FROM golang:1.25-alpine AS build
2
3
-RUN apk update && apk add --no-cache git
+RUN apk update && apk add --no-cache git ca-certificates curl
4
5
WORKDIR /go/src/app
6
COPY pkg /go/src/app/pkg
@@ -16,7 +16,9 @@ RUN go build -ldflags "-X github.com/noqqe/serra/pkg/serra.Version=`git describe
16
# copy
17
FROM scratch
18
19
-COPY --from=builder /go/src/app/serra /go/src/app/serra
+COPY --from=build /go/src/app/serra /go/src/app/serra
20
+COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
21
+COPY --from=build /tmp /tmp
22
COPY templates /go/src/app/templates
23
24
# run
0 commit comments