docker-node icon indicating copy to clipboard operation
docker-node copied to clipboard

Node-alpine: qemu: uncaught target signal 11 (Segmentation fault) - core dumped

Open KristofVDB1 opened this issue 1 year ago • 0 comments

Environment

  • Platform: Mac M1
  • Docker Version: 25.0.2
  • Node.js Version: Node 20
  • Image Tag: node:20-alpine

Expected Behavior

I tried rebuilding one of our images that uses the node:20-alpine but without success. The image we use has not been changed for a while so this seemed like a new issue since alpine 19/20. Using the node:20-alpine3.18 version of this image does solve the problem.

Current Behavior

After a while, the build process fails throwing this error:

qemu: uncaught target signal 11 (Segmentation fault) - core dumped

After the process keeps hanging without stopping itself.

Possible Solution

Steps to Reproduce

Used Dockerfile

FROM node:20-alpine

ADD . /app
WORKDIR /app

RUN apk update
RUN apk add python3 vim make gcc g++ curl

RUN yarn install

Additional Information

KristofVDB1 avatar Oct 16 '24 12:10 KristofVDB1