Skip to content

Commit 9499dc5

Browse files
authored
fix: use TARGETARCH instead of TARGETPLATFORM (#4)
1 parent 62597b5 commit 9499dc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web-build/Dockerfile.python2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#ddev-generated
22
# Adapted from https://www.fadedbee.com/2024/01/18/installing-python2-on-debian-12-bookworm/
3-
ARG TARGETPLATFORM
3+
ARG TARGETARCH
44
RUN mkdir -p /tmp/python2 && \
5-
wget -O /tmp/python2/python2.7.tar.gz https://github.com/stasadev/ddev-python2/releases/download/v1.0.0/python2.7_${TARGETPLATFORM##linux/}.tar.gz && \
5+
wget -O /tmp/python2/python2.7.tar.gz https://github.com/stasadev/ddev-python2/releases/download/v1.0.0/python2.7_${TARGETARCH}.tar.gz && \
66
tar -xzf /tmp/python2/python2.7.tar.gz -C /tmp/python2 && \
77
dpkg -i /tmp/python2/*.deb && \
88
rm -rf /tmp/python2 && \

0 commit comments

Comments
 (0)