From f1cd0878a5c74bddc864f5f8ce9e2f041bdde5ec Mon Sep 17 00:00:00 2001 From: TheCatLady <52870424+TheCatLady@users.noreply.github.com> Date: Wed, 10 Nov 2021 23:08:22 -0500 Subject: [PATCH] fix(docker): explicitly install python3 (#2273) [skip ci] --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5140b30e..c38730f5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,8 +7,10 @@ ENV TARGETPLATFORM=${TARGETPLATFORM:-linux/amd64} RUN \ case "${TARGETPLATFORM}" in \ - 'linux/arm64') apk add --no-cache python make g++ ;; \ - 'linux/arm/v7') apk add --no-cache python make g++ ;; \ + 'linux/arm64' | 'linux/arm/v7') \ + apk add --no-cache python3 make g++ && \ + ln -s /usr/bin/python3 /usr/bin/python \ + ;; \ esac COPY package.json yarn.lock ./