We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62597b5 commit 9499dc5Copy full SHA for 9499dc5
web-build/Dockerfile.python2
@@ -1,8 +1,8 @@
1
#ddev-generated
2
# Adapted from https://www.fadedbee.com/2024/01/18/installing-python2-on-debian-12-bookworm/
3
-ARG TARGETPLATFORM
+ARG TARGETARCH
4
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 && \
+ wget -O /tmp/python2/python2.7.tar.gz https://github.com/stasadev/ddev-python2/releases/download/v1.0.0/python2.7_${TARGETARCH}.tar.gz && \
6
tar -xzf /tmp/python2/python2.7.tar.gz -C /tmp/python2 && \
7
dpkg -i /tmp/python2/*.deb && \
8
rm -rf /tmp/python2 && \
0 commit comments