ci: fix docker images
This commit is contained in:
parent
df5bb1ae30
commit
f879a05b7f
3 changed files with 5 additions and 12 deletions
|
@ -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 && \
|
||||
|
|
|
@ -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 - && \
|
||||
|
|
|
@ -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 - && \
|
||||
|
|
Loading…
Reference in a new issue