ci: fix docker images

This commit is contained in:
LongYinan 2022-06-14 06:35:22 +00:00
parent df5bb1ae30
commit f879a05b7f
No known key found for this signature in database
GPG key ID: C3666B7FC82ADAD7
3 changed files with 5 additions and 12 deletions

View file

@ -6,24 +6,17 @@ ENV PATH="/aarch64-linux-musl-cross/bin:/usr/local/cargo/bin/rustup:/root/.cargo
CXX="clang++" \
GN_EXE=gn
RUN apk add --update --no-cache wget musl-dev && \
RUN apk add --update --no-cache bash wget musl-dev clang llvm build-base python3 && \
sed -i -e 's/v[[:digit:]]\..*\//edge\//g' /etc/apk/repositories && \
apk add --update --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing \
apk add --update --no-cache --repository https://dl-cdn.alpinelinux.org/alpine/edge/testing \
rustup \
build-base \
bash \
python3 \
python2 \
git \
clang \
cmake \
llvm \
gn \
tar \
ninja
RUN rustup-init -y && \
yarn global add pnpm && \
yarn global add pnpm lerna && \
rustup target add aarch64-unknown-linux-musl && \
wget https://musl.cc/aarch64-linux-musl-cross.tgz && \
tar -xvf aarch64-linux-musl-cross.tgz && \

View file

@ -11,7 +11,7 @@ ENV RUSTUP_HOME=/usr/local/rustup \
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 - && \
wget -O - 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 - && \

View file

@ -13,7 +13,7 @@ ENV RUSTUP_HOME=/usr/local/rustup \
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 - && \
wget -O - 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 - && \