install ca certs in worker docker image
This commit is contained in:
parent
04abe045e9
commit
10b6b92b1c
1 changed files with 4 additions and 0 deletions
|
@ -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"]
|
||||||
|
|
Loading…
Add table
Reference in a new issue