fullstaq-ruby-docker
fullstaq-ruby-docker copied to clipboard
qemu: uncaught target signal 6 (Aborted) - core dumped
Try to use 3.1.2-jemalloc as docker base, but it seems been hanged on the bundle install with message qemu: uncaught target signal 6 (Aborted) - core dumped
I'm not sure if I miss anything to build the image since I can build the image properly with ruby:3.1.2 base.
MacBook Pro (13-inch, M1, 2020) Chip: Apple M1 Latest Version of Docker Desktop for Mac
ARG RUBY_VERSION=3.1.2-jemalloc
FROM quay.io/evl.ms/fullstaq-ruby:${RUBY_VERSION}-slim
=> CACHED [4/7] COPY Gemfile /backend/Gemfile 0.0s
=> CACHED [5/7] COPY Gemfile.lock /backend/Gemfile.lock 0.0s
=> [6/7] RUN bundle install 360.0s
=> => # Fetching gem metadata from https://rubygems.org/.SEGV received in SEGV handler
=> => # SEGV received in SEGV handler
=> => # SEGV received in SEGV handler
=> => # qemu: uncaught target signal 6 (Aborted) - core dumped
That seems to be pretty widespread issue in running some AMD64 Docker images on ARM64 Macs. See:
- https://gitlab.com/qemu-project/qemu/-/issues/1059
- https://gitlab.com/qemu-project/qemu/-/issues/340
- https://github.com/docker/for-mac/issues/6264
Not sure that I can do anything to fix it here.
For proper solution we need native ARM64 build of Fullstaq Ruby, but there is no one currently (see https://github.com/evilmartians/fullstaq-ruby-docker/issues/11 and https://github.com/fullstaq-ruby/server-edition/issues/38), so most probably you can't use it reliably on ARM Macs.
@Envek thanks for your explanation. I'll try to build the image with another compatible devise and looking forward to native ARM64 build of Fullstaq Ruby.