I tried to run sudo make docker-image on my Ubuntu 22.04.3 LTS, but failed at "returned a non-zero code: 100". After an investigation, I found that it is due to these commands in Dockerfile "RUN apt-get update && apt-get dist-upgrade -y ...
Please install libffi or use –with-libffi-source-dir with libffi source location.Check /tmp/ruby-build.20240621024813.31141.qhxJlZ/ruby-3.2.2/ext/fiddle/mkmf.log for more details. Solution:sudo apt install libyaml-devInstall mongodb with docker...