This provides a Dockerfile that allows to build a customised Discourse container.
Currently the only customisation is to add the discourse-openid-connect plugin.
The way this is done may not be optimal, but it works. For more information see:
- https://meta.discourse.org/t/openid-connect-authentication-plugin/103632
- https://meta.discourse.org/t/install-plugins-in-discourse/19157
- https://github.com/bitnami/bitnami-docker-discourse/issues/127
Once installed Discourse needs configuring through it's settings according to the info in the first link. The messages that are displayed in the login dialog can also be customised to be more specific to your OpenID Connect instance.
According to bitmani (2025): -
The bitnami images no longer receive any further updates or support and should only be used for temporary migration purposes. If you rely on any of these legacy images, we suggest pulling and storing them in your own container registry to ensure continued availability. Please note that this repository may be removed in the future.
To ensure we're able to build in the future we have pulled the latest
bitnamilegacy/discourse:2.6.7
image (which we were using) and pushed it to docker hub
as informaticsmatters/discourse:2.6.7-base
, which we now depend on.