fix(docker): explicitly install python3 (#2273) [skip ci]

pull/2260/head
TheCatLady 3 years ago committed by GitHub
parent b1b367aac6
commit f1cd0878a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save