Skip to content

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

Open
@KristofVDB1

Description

@KristofVDB1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions