From f7cc6766dd8c9a79e679c4e94f784a2e57f1c0ae Mon Sep 17 00:00:00 2001 From: aptalca <541623+aptalca@users.noreply.github.com> Date: Thu, 7 Mar 2024 15:57:00 -0500 Subject: [PATCH] fix pip shebang --- Dockerfile | 1 + Dockerfile.aarch64 | 1 + 2 files changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 1b06799..0f0ad66 100644 --- a/Dockerfile +++ b/Dockerfile @@ -91,6 +91,7 @@ RUN \ \( \ -type d -a \( -name test -o -name tests \) \ \) -exec rm -rf '{}' + && \ + sed -i 's|pythoncompiled|usr/local|' /pythoncompiled/bin/pip /pythoncompiled/bin/pip* /pythoncompiled/bin/wheel && \ echo "**** cleanup ****" && \ apk del --purge \ build-dependencies && \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index 4dd1b7c..066e155 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -91,6 +91,7 @@ RUN \ \( \ -type d -a \( -name test -o -name tests \) \ \) -exec rm -rf '{}' + && \ + sed -i 's|pythoncompiled|usr/local|' /pythoncompiled/bin/pip /pythoncompiled/bin/pip* /pythoncompiled/bin/wheel && \ echo "**** cleanup ****" && \ apk del --purge \ build-dependencies && \