File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -22,13 +22,15 @@ COPY cmd/server /opt/cmd/server
22
22
COPY go.mod go.sum /opt/.
23
23
COPY --from=buf-builder /opt/protobuf /opt/protobuf
24
24
COPY --from=node-builder /opt/cmd/server/dist /opt/cmd/server/dist
25
- RUN go mod tidy \
25
+ RUN apk --no-cache add ca-certificates \
26
+ && go mod tidy \
26
27
&& go build -ldflags="-X github.com/AS203038/looking-glass/pkg/utils.release=${VERSION}" -o /opt/looking-glass /opt/cmd/server
27
28
28
29
FROM scratch
29
30
LABEL org.opencontainers.image.source https://github.com/AS203038/looking-glass
30
31
LABEL org.opencontainers.image.description Yet another looking glass project
31
32
LABEL org.opencontainers.image.licenses GPL-3.0-or-later
32
33
WORKDIR /
34
+ COPY --from=go-builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
33
35
COPY --from=go-builder /opt/looking-glass /looking-glass
34
36
ENTRYPOINT ["/looking-glass" ]
You can’t perform that action at this time.
0 commit comments