Proposal: Declare Docker images dependencies via the `ruby_slim_docker_packages` key in `gemspec.metadata`

Here’s a list:

My general impression is that there are several in popular use for redhat like operating systems, but for debian like operating systems it is rare to use anything but apt. That being said, some things are only installable by running curl commands, and other things may require adding a package repository and even downloading a gpg key before installing.

Here’s an example: How to use Puppeteer inside a Docker container - DEV Community

While that example is using node, the same instructions can be used for Ruby with puppeteer-ruby.

In theory the story is the same for node packages. They can have operating system dependencies. In practice the javascript used by Rails programs is intended to be run in the browser so it won’t make use of host dependent packages beyond what is needed to build or bundle the software.