Skip to content

Commit

Permalink
Ugly hack
Browse files Browse the repository at this point in the history
  • Loading branch information
Firerouge committed Jun 9, 2019
1 parent 3eef1da commit d2cd734
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Expand Up @@ -96,8 +96,10 @@ RUN NB_CORES=${BUILD_CORES-$(getconf _NPROCESSORS_CONF)} \
&& mkdir -p /usr/local/flood \
&& cd /usr/local/flood \
&& git clone https://github.com/jfurrow/flood . \
&& mv /tmp/config.js config.js \
&& mv /tmp/config.js config.js
RUN npm config set unsafe-perm true \
&& npm install -g node-gyp \
&& npm config set unsafe-perm false
&& npm install \
# workaround for "Illegal instruction" when using argon2 on some CPUs
&& sed -i -e "s/\"-march=native\", //g" /usr/local/flood/node_modules/argon2/binding.gyp \
Expand Down

0 comments on commit d2cd734

Please sign in to comment.