build: do not link python for arm (#3670)

pull/3671/head
Ryan Cohen 6 months ago committed by GitHub
parent 59dabed380
commit a45fc86032
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -8,8 +8,7 @@ ENV TARGETPLATFORM=${TARGETPLATFORM:-linux/amd64}
RUN \ RUN \
case "${TARGETPLATFORM}" in \ case "${TARGETPLATFORM}" in \
'linux/arm64' | 'linux/arm/v7') \ 'linux/arm64' | 'linux/arm/v7') \
apk add --no-cache python3 make g++ && \ apk add --no-cache python3 make g++ \
ln -s /usr/bin/python3 /usr/bin/python \
;; \ ;; \
esac esac

Loading…
Cancel
Save