restored certificates

This commit is contained in:
Claudio La Barbera 2023-03-22 16:41:36 +01:00
parent 1679ee3e8c
commit 95d534f871

View file

@ -1,6 +1,7 @@
FROM golang:1.13-alpine AS build-env
ENV GO111MODULE=on
WORKDIR /go/src/github.com/hugomd/ascii-live/
RUN apk add ca-certificates
COPY . /go/src/github.com/hugomd/ascii-live/
RUN cd /go/src/github.com/hugomd/ascii-live && \
go mod download && \
@ -8,4 +9,5 @@ RUN cd /go/src/github.com/hugomd/ascii-live && \
FROM scratch
COPY --from=build-env /go/src/github.com/hugomd/ascii-live/main /
COPY --from=build-env /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
CMD ["/main"]