From e297d25603d95b3a08b724b909cfc4697915737d Mon Sep 17 00:00:00 2001 From: Ryan Cohen Date: Mon, 6 Nov 2023 18:56:57 +0900 Subject: [PATCH] build: add global node-gyp for arm (#3676) --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index fee2e976..949bf596 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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