Skip to content

Commit

Permalink
address npm 'could not get uid/gid' error when building with docker b…
Browse files Browse the repository at this point in the history
…uildx for cross-compiling to armhf
  • Loading branch information
petemyron committed Feb 26, 2020
1 parent 4a1150c commit 122ee8f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile-debian-armhf
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
cd /tmp/build && \
export PATH=$PWD/node_modules/.bin:$PATH && \
sed -i'' -e '/phantomjs/d' package.json && \
npm config set unsafe-perm true && \
npm install -g npm && \
echo 'npm cache clean --force' | su stf -s /bin/bash && \
echo 'npm install --no-optional --loglevel http' | su stf -s /bin/bash && \
Expand Down

0 comments on commit 122ee8f

Please sign in to comment.