Skip to content

Commit d848695

Browse files
committed
ci: fix arm64 building
1 parent 66f5054 commit d848695

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ RUN sed -i 's/archive.ubuntu.com/mirrors.ustc.edu.cn/g' /etc/apt/sources.list \
1313
SHELL ["/bin/bash", "-c"]
1414
ARG NPM_REGISTRY=https://registry.npmmirror.com
1515
ARG NPM_MIRROR=https://npmmirror.com
16+
ARG TARGETARCH
1617
RUN if [ "$TARGETARCH" = "arm64" ] ; then \
1718
export ARCH=arm64 ; \
1819
elif [ "$TARGETARCH" = "arm" ] ; then \

0 commit comments

Comments
 (0)