Qemu error when running gem install bundler on Docker with Apple Silicon M1
I found a hack. This is a way around that specific issue. I fixed it by adding the following line at the top of my Dockerfile.yml
to update the image source which might have been outdated
FROM ruby:2.3.4
If you're experiencing a similar issue with another library I suggest to look for an image on Docker Hub https://hub.docker.com/ and make sure that they have support for the desired architecture: amd64 or arm65, etc..
For more information about the qemu error you can follow this gitlab issue thread: https://gitlab.com/qemu-project/qemu/-/issues/340