From faa08984390c49bd28ab607e5eb6f9940ba9ad86 Mon Sep 17 00:00:00 2001 From: Vincent Weevers Date: Sun, 1 Aug 2021 08:40:09 +0200 Subject: [PATCH] Fix path to strip binary in linux-armv6 Closes #20. --- android-arm64/Dockerfile | 1 + android-armv7/Dockerfile | 1 + linux-arm64/Dockerfile | 1 + linux-armv6/Dockerfile | 3 ++- linux-armv7/Dockerfile | 1 + 5 files changed, 6 insertions(+), 1 deletion(-) diff --git a/android-arm64/Dockerfile b/android-arm64/Dockerfile index 74e4de5..f8c4c93 100644 --- a/android-arm64/Dockerfile +++ b/android-arm64/Dockerfile @@ -16,6 +16,7 @@ RUN apt-get -y update && \ apt-get -y update && \ apt-get -y install nodejs && \ npm -v && \ + test -f ${CROSS_ROOT}/bin/${CROSS_TRIPLE}-strip && \ rm -rf /var/lib/apt/lists/* USER node diff --git a/android-armv7/Dockerfile b/android-armv7/Dockerfile index 21484f3..d62871a 100644 --- a/android-armv7/Dockerfile +++ b/android-armv7/Dockerfile @@ -16,6 +16,7 @@ RUN apt-get -y update && \ apt-get -y update && \ apt-get -y install nodejs && \ npm -v && \ + test -f ${CROSS_ROOT}/bin/${CROSS_TRIPLE}-strip && \ rm -rf /var/lib/apt/lists/* USER node diff --git a/linux-arm64/Dockerfile b/linux-arm64/Dockerfile index 869c8be..5f14410 100644 --- a/linux-arm64/Dockerfile +++ b/linux-arm64/Dockerfile @@ -16,6 +16,7 @@ RUN apt-get -y update && \ apt-get -y update && \ apt-get -y install nodejs && \ npm -v && \ + test -f ${CROSS_ROOT}/bin/${CROSS_TRIPLE}-strip && \ rm -rf /var/lib/apt/lists/* USER node diff --git a/linux-armv6/Dockerfile b/linux-armv6/Dockerfile index e32d9d5..97b41fb 100644 --- a/linux-armv6/Dockerfile +++ b/linux-armv6/Dockerfile @@ -16,11 +16,12 @@ RUN apt-get -y update && \ apt-get -y update && \ apt-get -y install nodejs && \ npm -v && \ + test -f ${CROSS_ROOT}/bin/${CROSS_TRIPLE}-strip && \ rm -rf /var/lib/apt/lists/* USER node -ENV PREBUILD_STRIP_BIN ${CROSS_ROOT}/bin/strip +ENV PREBUILD_STRIP_BIN ${CROSS_ROOT}/bin/${CROSS_TRIPLE}-strip ENV PREBUILD_ARCH arm ENV PREBUILD_ARMV 6 ENV PREBUILD_PLATFORM linux diff --git a/linux-armv7/Dockerfile b/linux-armv7/Dockerfile index 06fbd50..322fc16 100644 --- a/linux-armv7/Dockerfile +++ b/linux-armv7/Dockerfile @@ -16,6 +16,7 @@ RUN apt-get -y update && \ apt-get -y update && \ apt-get -y install nodejs && \ npm -v && \ + test -f ${CROSS_ROOT}/bin/${CROSS_TRIPLE}-strip && \ rm -rf /var/lib/apt/lists/* USER node