docker: add ca-certificates package

This commit is contained in:
Avelino 2023-01-02 15:13:44 -03:00 committed by GitHub
parent ea61235e87
commit 8e929ec17e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,6 +3,9 @@ FROM debian:latest
ARG TARGETARCH
RUN apt-get update && \
apt-get install -y ca-certificates
COPY ./d2-*-linux-$TARGETARCH.tar.gz /tmp
RUN mkdir -p /usr/local/lib/d2 \
&& tar -C /usr/local/lib/d2 -xzf /tmp/d2-*-linux-"$TARGETARCH".tar.gz \