AWS Lambda Layer for Ruby Postgres gem not working

I'm trying to build a Postgres layer for an AWS Lambda running on Ruby using this post as a guide but it's not working. This is the Dockerfile. I've added RUN bundle config cache_all true and RUN b...