From cd8499f635c70b05386b7c94bad8af5a0e448a84 Mon Sep 17 00:00:00 2001 From: Jose Fortin Date: Wed, 2 Sep 2020 14:28:59 -0700 Subject: [PATCH] Workaround https://github.com/pypa/wheel/issues/367 everywhere Python is installed on an arm32v7 platform --- src/alpine/3.9/arm32v7/Dockerfile | 3 +++ src/debian/10/helix/arm32v7/Dockerfile | 3 +++ src/debian/9/helix/arm32v7/Dockerfile | 3 +++ src/ubuntu/16.04/helix/arm32v7/Dockerfile | 3 +++ src/ubuntu/18.04/helix/arm32v7/Dockerfile | 3 +++ 5 files changed, 15 insertions(+) diff --git a/src/alpine/3.9/arm32v7/Dockerfile b/src/alpine/3.9/arm32v7/Dockerfile index bb1bb42..d436f68 100644 --- a/src/alpine/3.9/arm32v7/Dockerfile +++ b/src/alpine/3.9/arm32v7/Dockerfile @@ -1,5 +1,8 @@ FROM arm32v7/alpine:3.9 +# Workaround: https://github.com/pypa/wheel/issues/367 +ENV _PYTHON_HOST_PLATFORM linux_armv7l + RUN apk update RUN apk add --no-cache \ diff --git a/src/debian/10/helix/arm32v7/Dockerfile b/src/debian/10/helix/arm32v7/Dockerfile index 876fd7b..02ea6a6 100644 --- a/src/debian/10/helix/arm32v7/Dockerfile +++ b/src/debian/10/helix/arm32v7/Dockerfile @@ -1,5 +1,8 @@ FROM arm32v7/debian:buster +# Workaround: https://github.com/pypa/wheel/issues/367 +ENV _PYTHON_HOST_PLATFORM linux_armv7l + # Install Helix Dependencies RUN apt-get update && \ diff --git a/src/debian/9/helix/arm32v7/Dockerfile b/src/debian/9/helix/arm32v7/Dockerfile index b765a5b..e721c08 100644 --- a/src/debian/9/helix/arm32v7/Dockerfile +++ b/src/debian/9/helix/arm32v7/Dockerfile @@ -2,6 +2,9 @@ FROM arm32v7/debian:9 # Install Helix Dependencies +# Workaround: https://github.com/pypa/wheel/issues/367 +ENV _PYTHON_HOST_PLATFORM linux_armv7l + RUN apt-get update && \ apt-get install -y \ autoconf \ diff --git a/src/ubuntu/16.04/helix/arm32v7/Dockerfile b/src/ubuntu/16.04/helix/arm32v7/Dockerfile index ffe0b3d..1116708 100644 --- a/src/ubuntu/16.04/helix/arm32v7/Dockerfile +++ b/src/ubuntu/16.04/helix/arm32v7/Dockerfile @@ -2,6 +2,9 @@ FROM arm32v7/ubuntu:16.04 # Install Helix Dependencies +# Workaround: https://github.com/pypa/wheel/issues/367 +ENV _PYTHON_HOST_PLATFORM linux_armv7l + # Can remove the mono preview repo when we no longer depend on pre-release libgdiplus RUN apt-get update && \ diff --git a/src/ubuntu/18.04/helix/arm32v7/Dockerfile b/src/ubuntu/18.04/helix/arm32v7/Dockerfile index 41f7480..79940ee 100644 --- a/src/ubuntu/18.04/helix/arm32v7/Dockerfile +++ b/src/ubuntu/18.04/helix/arm32v7/Dockerfile @@ -4,6 +4,9 @@ FROM arm32v7/ubuntu:18.04 ENV DEBIAN_FRONTEND noninteractive +# Workaround: https://github.com/pypa/wheel/issues/367 +ENV _PYTHON_HOST_PLATFORM linux_armv7l + # Can remove the mono preview repo when we no longer depend on pre-release libgdiplus RUN apt-get update && \