copy cert bundle into scratch
This commit is contained in:
parent
04aadf1d10
commit
759835993e
@ -4,5 +4,6 @@ COPY . ./
|
|||||||
RUN CGO_ENABLED=0 GOOS=linux go build -o server ./cmd/serve
|
RUN CGO_ENABLED=0 GOOS=linux go build -o server ./cmd/serve
|
||||||
|
|
||||||
FROM scratch
|
FROM scratch
|
||||||
|
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
|
||||||
COPY --from=0 /src/server ./
|
COPY --from=0 /src/server ./
|
||||||
CMD ["/server"]
|
CMD ["/server"]
|
Loading…
Reference in New Issue
Block a user