Commit 904c86e
Eric Bower
·
2026-08-07 15:28:31 -0400 EDT
parent 0230508
fix: docker build
1 files changed,
+3,
-2
+3,
-2
1@@ -19,12 +19,13 @@ ENV LDFLAGS="-s -w"
2
3 RUN go build -ldflags "$LDFLAGS" -o /go/bin/patchbin ./cmd/patchbin
4
5-FROM scratch AS release
6+FROM debian:bookworm-slim AS release
7
8 WORKDIR /app
9 ENV TERM="xterm-256color"
10
11-COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
12+RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
13+
14 COPY --from=builder /go/bin/patchbin ./patchbin
15
16 CMD ["/app/patchbin"]