|
|
@ -8,8 +8,9 @@ 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 update && \
|
|
|
|
ln -s /usr/bin/python3 /usr/bin/python \
|
|
|
|
apk add --no-cache python3 make g++ gcc libc6-compat bash && \
|
|
|
|
|
|
|
|
yarn global add node-gyp \
|
|
|
|
;; \
|
|
|
|
;; \
|
|
|
|
esac
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
|
|