Skip to content

Commit a19a787

Browse files
committed
Fix strip location in android images
1 parent 4926f87 commit a19a787

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

android-arm64/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ RUN groupadd --gid 1000 node && useradd --uid 1000 --gid node --shell /bin/bash
1010
curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - && \
1111
apt-get -y install nodejs && \
1212
npm -v && \
13-
test -f ${CROSS_ROOT}/bin/${CROSS_TRIPLE}-strip && \
13+
test -f ${CROSS_ROOT}/bin/llvm-strip && \
1414
rm -rf /var/lib/apt/lists/*
1515

1616
USER node
1717

18-
ENV PREBUILD_STRIP_BIN ${CROSS_ROOT}/bin/${CROSS_TRIPLE}-strip
18+
ENV PREBUILD_STRIP_BIN ${CROSS_ROOT}/bin/llvm-strip
1919
ENV PREBUILD_ARCH arm64
2020
ENV PREBUILD_ARMV 8
2121
ENV PREBUILD_PLATFORM android

android-armv7/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ RUN groupadd --gid 1000 node && useradd --uid 1000 --gid node --shell /bin/bash
1010
curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - && \
1111
apt-get -y install nodejs && \
1212
npm -v && \
13-
test -f ${CROSS_ROOT}/bin/${CROSS_TRIPLE}-strip && \
13+
test -f ${CROSS_ROOT}/bin/llvm-strip && \
1414
rm -rf /var/lib/apt/lists/*
1515

1616
USER node
1717

18-
ENV PREBUILD_STRIP_BIN ${CROSS_ROOT}/bin/${CROSS_TRIPLE}-strip
18+
ENV PREBUILD_STRIP_BIN ${CROSS_ROOT}/bin/llvm-strip
1919
ENV PREBUILD_ARCH arm
2020
ENV PREBUILD_ARMV 7
2121
ENV PREBUILD_PLATFORM android

0 commit comments

Comments
 (0)