Docker killed by system when build
It's likely that tmpfs is filled.
Perhaps try something like:mount -o remount,size=10G,noatime /tmp
For those that follow: At least on my system the problem was that npm
tried to install the packages locally into an read-only mounted volume in Docker.
So the solution was adding -g
to npm
or remove :ro
in Docker