From 717f96acfc78162d868d7ef665c339d8101608ca Mon Sep 17 00:00:00 2001 From: LongYinan Date: Tue, 31 May 2022 12:53:49 +0800 Subject: [PATCH] ci: fix debian image --- debian.Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/debian.Dockerfile b/debian.Dockerfile index 532dd983..c9ceb677 100644 --- a/debian.Dockerfile +++ b/debian.Dockerfile @@ -11,7 +11,9 @@ ENV RUSTUP_HOME=/usr/local/rustup \ CXX_x86_64_unknown_linux_gnu=clang++ \ RUST_TARGET=x86_64-unknown-linux-gnu -RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - && \ +RUN apt-get update && \ + apt-get install -y --fix-missing --no-install-recommends gpg-agent ca-certificates openssl && \ + wget -qO - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - && \ echo "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-14 main" >> /etc/apt/sources.list && \ echo "deb-src http://apt.llvm.org/focal/ llvm-toolchain-focal-14 main" >> /etc/apt/sources.list && \ curl -sL https://deb.nodesource.com/setup_16.x | bash - && \