Skip to content

Commit

Permalink
build: add global node-gyp for arm (#3676)
Browse files Browse the repository at this point in the history
  • Loading branch information
sct authored Nov 6, 2023
1 parent 89287af commit e297d25
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ ENV TARGETPLATFORM=${TARGETPLATFORM:-linux/amd64}
RUN \
case "${TARGETPLATFORM}" in \
'linux/arm64' | 'linux/arm/v7') \
apk add --no-cache python3 make g++ && \
ln -s /usr/bin/python3 /usr/bin/python \
apk update && \
apk add --no-cache python3 make g++ gcc libc6-compat bash && \
yarn global add node-gyp \
;; \
esac

Expand Down

0 comments on commit e297d25

Please sign in to comment.