build: install alpine build-base on stable channel

This commit is contained in:
LongYinan 2022-04-17 22:21:13 +08:00 committed by GitHub
parent e81e3dbb2e
commit e785e31e19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@ ENV PATH="/aarch64-linux-musl-cross/bin:/usr/local/cargo/bin/rustup:/root/.cargo
CXX="clang++" \ CXX="clang++" \
GN_EXE=gn GN_EXE=gn
RUN apk add --update --no-cache wget musl-dev && \ RUN apk add --update --no-cache wget build-base musl-dev && \
sed -i -e 's/v[[:digit:]]\..*\//edge\//g' /etc/apk/repositories && \ 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 http://dl-cdn.alpinelinux.org/alpine/edge/testing \
rustup \ rustup \
@ -14,7 +14,6 @@ RUN apk add --update --no-cache wget musl-dev && \
python3 \ python3 \
python2 \ python2 \
git \ git \
build-base \
clang \ clang \
cmake \ cmake \
llvm \ llvm \