🚑 Updates Python to Python3

This commit is contained in:
Alicia Sykes 2022-02-05 05:39:14 +00:00
parent 824082ba8c
commit 1294b43007
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
FROM node:14.17.5-alpine AS BUILD_IMAGE
FROM node:16.13.2-alpine AS BUILD_IMAGE
ARG TARGETPLATFORM
ENV TARGETPLATFORM=${TARGETPLATFORM:-linux/amd64}
@ -6,8 +6,8 @@ ENV TARGETPLATFORM=${TARGETPLATFORM:-linux/amd64}
# Install additional tools needed on arm64 and armv7
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') apk add --no-cache python3 make g++ ;; \
'linux/arm/v7') apk add --no-cache python3 make g++ ;; \
esac
# Create and set the working directory