ci: fix debian image

This commit is contained in:
LongYinan 2022-05-31 12:53:49 +08:00
parent 67cf075f86
commit 717f96acfc
No known key found for this signature in database
GPG key ID: C3666B7FC82ADAD7

View file

@ -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 - && \