Skip to content

Commit

Permalink
Fix strip location in android images
Browse files Browse the repository at this point in the history
  • Loading branch information
vweevers committed Mar 4, 2022
1 parent 4926f87 commit a19a787
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions android-arm64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ RUN groupadd --gid 1000 node && useradd --uid 1000 --gid node --shell /bin/bash
curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - && \
apt-get -y install nodejs && \
npm -v && \
test -f ${CROSS_ROOT}/bin/${CROSS_TRIPLE}-strip && \
test -f ${CROSS_ROOT}/bin/llvm-strip && \
rm -rf /var/lib/apt/lists/*

USER node

ENV PREBUILD_STRIP_BIN ${CROSS_ROOT}/bin/${CROSS_TRIPLE}-strip
ENV PREBUILD_STRIP_BIN ${CROSS_ROOT}/bin/llvm-strip
ENV PREBUILD_ARCH arm64
ENV PREBUILD_ARMV 8
ENV PREBUILD_PLATFORM android
Expand Down
4 changes: 2 additions & 2 deletions android-armv7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ RUN groupadd --gid 1000 node && useradd --uid 1000 --gid node --shell /bin/bash
curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - && \
apt-get -y install nodejs && \
npm -v && \
test -f ${CROSS_ROOT}/bin/${CROSS_TRIPLE}-strip && \
test -f ${CROSS_ROOT}/bin/llvm-strip && \
rm -rf /var/lib/apt/lists/*

USER node

ENV PREBUILD_STRIP_BIN ${CROSS_ROOT}/bin/${CROSS_TRIPLE}-strip
ENV PREBUILD_STRIP_BIN ${CROSS_ROOT}/bin/llvm-strip
ENV PREBUILD_ARCH arm
ENV PREBUILD_ARMV 7
ENV PREBUILD_PLATFORM android
Expand Down

0 comments on commit a19a787

Please sign in to comment.