-
Notifications
You must be signed in to change notification settings - Fork 428
Closed
Description
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
Labels
No labels