Merge pull request #595 from avelino/avelino/issue-594
docker: add ca-certificates package
This commit is contained in:
commit
5abde05b86
2 changed files with 4 additions and 1 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
FROM debian:10
|
||||
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y curl
|
||||
RUN apt-get install -y curl ca-certificates
|
||||
|
||||
ARG GOVERSION=
|
||||
RUN curl -fsSL "https://go.dev/dl/go$GOVERSION.tar.gz" >/tmp/go.tar.gz
|
||||
|
|
|
|||
Loading…
Reference in a new issue