Skip to content

qemu error #583

@kwonglau

Description

@kwonglau

Getting a Segmentation fault error when building a mutli-arch image

 > [linux/arm64 5/5] RUN rabbitmq-plugins enable rabbitmq_consistent_hash_exchange:
#0 1.284 qemu: uncaught target signal 11 (Segmentation fault) - core dumped
#0 1.298 Segmentation fault
------
Dockerfile:11
--------------------
   9 |     #RUN apt-get -y install qemu-system
  10 |     
  11 | >>> RUN rabbitmq-plugins enable rabbitmq_consistent_hash_exchange
  12 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c rabbitmq-plugins enable rabbitmq_consistent_hash_exchange" did not complete successfully: exit code: 139

I'm using a intel base mac to build the image

Dockerfile:

FROM rabbitmq:3.11.0

RUN apt-get update

RUN apt-get -y autoremove

RUN apt-get -y upgrade

RUN rabbitmq-plugins enable rabbitmq_consistent_hash_exchange

command:

docker buildx build --platform linux/amd64,linux/arm64/v8 \
  -t -rabbitmq:3.11.0 . \
  --push

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