Skip to content

Commit

Permalink
ci: fix arm64 building
Browse files Browse the repository at this point in the history
  • Loading branch information
yunnysunny committed Apr 5, 2024
1 parent 66f5054 commit d848695
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ RUN sed -i 's/archive.ubuntu.com/mirrors.ustc.edu.cn/g' /etc/apt/sources.list \
SHELL ["/bin/bash", "-c"]
ARG NPM_REGISTRY=https://registry.npmmirror.com
ARG NPM_MIRROR=https://npmmirror.com
ARG TARGETARCH
RUN if [ "$TARGETARCH" = "arm64" ] ; then \
export ARCH=arm64 ; \
elif [ "$TARGETARCH" = "arm" ] ; then \
Expand Down

0 comments on commit d848695

Please sign in to comment.