How to deploy dependencies with Ruby

Hi, I’m trying to deploy my lambdas on AWS lambda, I found a topic that appears to be very relevant to my issue but I don’t think I understand the solution: https://github.com/serverless/serverless/issues/5567

I have libraries that depend on native libraries (I think libcurl, but might very well be something else).

I don’t have Docker where I want to deploy, and it obviously fails with

Command failed: docker run -v `pwd`:`pwd` -w `pwd` lambci/lambda:build-ruby2.5 bundle install --deployment /bin/sh: docker: command not found

By reading lambci/docker-lambda it looks like it’s only docker images built mainly for testing purposes, I guess I’m really not getting the proposed solution.

Here is my serverless.yml: https://gist.github.com/ngw/8e762faca258493c7159581aed1fccea

Thanks in advance,
ngw