Illegal instruction (core dumped)
Building image using node:13.10.1-alpine3.11 In one laptop is working but in my second laptop is throwing
Illegal instruction (core dumped) sill install generateActionsToTake
Building using node:13.10.1-alpine3.10 throw error
Illegal instruction (core dumped)e: verb extractTree extracting dependencies to node_modules/
Tried the same version of node using latest and everyhting went fine.
Also I tried "node:12.16.1-alpine3.9" and everything installed properly.
Attached are the package.json and the termianl screenshot.
Looking in internet and could not find something
THere are some suggestions that the node modules should not be imported and I confirm that are not imported.
Every action is done while in folder is only package.json and package-lock.json.
All commands are run as user "node"

Same problem with node:13.12.0-stretch-slim
Step 4/11 : RUN npm install
Illegal instruction (core dumped)
ERROR: Service 'frontend_builder' failed to build: The command '/bin/sh -c npm install' returned a non-zero code: 132
Hi,
Some suggestions:
- You can switch to more verbose mode to see what's going on:
npm install -ddd - Also please make sure you don't accidentally copy node_modules or some other binaries from your host to image with
COPY . .command. - Try clean build to ensure your cached layers don't affect.
- Increase the stack size (https://github.com/sass/node-sass/issues/2031#issuecomment-368700881)
Clean build with node:13.12.0-stretch-slim works fine on my package.json.
Docker version 19.03.8, build afacb8b7f0
$ ulimit -all
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 15736
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 15736
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
@salykin I will try to build the container one more time using npm install -ddd I am sure I have not copied the node_modules, because I copy the source code and than I enter in container and if I make there npm install I get the same error I have run docker system prune and made sure that everything has gone , including any network or volume. I will try and let you know if the solution for the stack size will fix. Again I am facing this error only when building with a specific alpine version. Look my first comment. Only a specific version of Alpine throw this error.