Skip to content

Commit

Permalink
Merge pull request openstf#1191 from petemyron/cross-compiling-with-b…
Browse files Browse the repository at this point in the history
…uildx-fix

[armhf] address npm 'could not get uid/gid' error when building with docker buildx for cross-compiling
  • Loading branch information
koral-- committed Mar 4, 2020
2 parents 54648c0 + 122ee8f commit e346700
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 e346700

Please sign in to comment.