From c19d44226707712f6eabe081853bb2e1dde631c0 Mon Sep 17 00:00:00 2001 From: Andrew Marcuse Date: Wed, 22 May 2024 14:45:48 -0400 Subject: [PATCH] ADD: docker needs root ssl certs to talk to github --- .gitignore | 1 + Dockerfile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index a4ab85b..3690d5b 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ cache/ *.class /completions/ crash.log +dashboard.md dist/ .DS_Store *.env diff --git a/Dockerfile b/Dockerfile index 58b023a..dda7627 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,7 @@ RUN go build \ && upx ghashboard FROM scratch +COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ COPY --from=builder /build/ghashboard /bin/ghashboard -WORKDIR /bin ENTRYPOINT ["/bin/ghashboard"]