mirror of
https://github.com/Lissy93/dashy.git
synced 2024-11-26 12:55:42 +03:00
🚑 Updates Python to Python3
This commit is contained in:
parent
824082ba8c
commit
1294b43007
@ -1,4 +1,4 @@
|
|||||||
FROM node:14.17.5-alpine AS BUILD_IMAGE
|
FROM node:16.13.2-alpine AS BUILD_IMAGE
|
||||||
|
|
||||||
ARG TARGETPLATFORM
|
ARG TARGETPLATFORM
|
||||||
ENV TARGETPLATFORM=${TARGETPLATFORM:-linux/amd64}
|
ENV TARGETPLATFORM=${TARGETPLATFORM:-linux/amd64}
|
||||||
@ -6,8 +6,8 @@ ENV TARGETPLATFORM=${TARGETPLATFORM:-linux/amd64}
|
|||||||
# Install additional tools needed on arm64 and armv7
|
# Install additional tools needed on arm64 and armv7
|
||||||
RUN \
|
RUN \
|
||||||
case "${TARGETPLATFORM}" in \
|
case "${TARGETPLATFORM}" in \
|
||||||
'linux/arm64') apk add --no-cache python make g++ ;; \
|
'linux/arm64') apk add --no-cache python3 make g++ ;; \
|
||||||
'linux/arm/v7') apk add --no-cache python make g++ ;; \
|
'linux/arm/v7') apk add --no-cache python3 make g++ ;; \
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Create and set the working directory
|
# Create and set the working directory
|
||||||
|
Loading…
Reference in New Issue
Block a user