From 95d534f871da4fc9e2db81447613b2888b923a73 Mon Sep 17 00:00:00 2001 From: Claudio La Barbera Date: Wed, 22 Mar 2023 16:41:36 +0100 Subject: [PATCH] restored certificates --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 4104c7e..c3c4bb5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"]