Bundle install fails after adding gem "mysql2" and gem "reverse_markdown"

Bitnami is not supported.

You need to add the required libraries for mysql inside the container or machine running the import.

For a standard install you can use this template, or contrive to do it yourself inside the bitnami container. Or you can use a Install Discourse for development using Docker (there are also guides for Mac, Windows, and Linux).