install ca certs in worker docker image

This commit is contained in:
1e99 2025-06-29 12:10:35 +02:00
parent 04abe045e9
commit 10b6b92b1c

View file

@ -5,5 +5,9 @@ RUN go build -o /bin/2b2t-worker ./worker
FROM docker.io/debian:latest AS runner FROM docker.io/debian:latest AS runner
WORKDIR /run WORKDIR /run
RUN apt-get update && \
apt-get install -y ca-certificates && \
update-ca-certificates
COPY --from=builder /bin/2b2t-worker /bin/2b2t-worker COPY --from=builder /bin/2b2t-worker /bin/2b2t-worker
CMD ["/bin/2b2t-worker"] CMD ["/bin/2b2t-worker"]