Welp guess I need CA certs

This commit is contained in:
2024-10-21 22:12:57 -06:00
parent 18aa6846e9
commit e76a886d5b
2 changed files with 6 additions and 5 deletions

View File

@ -10,8 +10,11 @@ COPY . .
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o /go/bin/app
FROM scratch
FROM gcr.io/distroless/static-debian11
COPY --from=alpine:latest /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=build /go/bin/app /app
# Set the entrypoint
ENTRYPOINT ["/app"]