[Docs]: Add tutorial/guide for building custom extension images
Is there an existing issue already for your request/idea?
- [x] I have searched for an existing issue, and could not find anything. I believe this is a new documentation enhancement to be evaluated.
What problem in the existing documentation this issue aims to solve?
The documentation quite clearly outlines using the new image catalog and where to find the official one with the limited extensions in there. It would be nice to provide some working examples of building extension images with Postgres extensions that do not ship a .deb package. I have just gone through this process, building an extension image for pg_duckdb.
People are always going to want to add additional extensions beyond those officially supported by the project, it would be very handy to have a guide on how to achieve this, along with the common pitfalls, or why you might not want to do this.
Describe what additions need to be done to the documentation
No response
Describe what pages need to change in the documentation, if any
No response
Describe what pages need to be removed from the documentation, if any
No response
Additional context
No response
Backport?
Yes
Code of Conduct
- [x] I agree to follow this project's Code of Conduct
Hi @cams-data ,
I'd be interested in contributing documentation for this. Is anyone currently working on a guide or example for custom extension images? If it is available then can i be assigned to it Thanks.
This issue is stale because it has been open for 60 days with no activity.
@cams-data and @Utkarsh-sharma47: As long as it's clear that the CNPG community is not responsible for those extensions, I believe the information available at https://github.com/cloudnative-pg/postgres-extensions-containers/blob/main/CONTRIBUTING_NEW_EXTENSION.md already provides most of the necessary details. The rest is really just the fundamentals of image-building, and if packages are not available, all you need to do is compile the extension. For example, a few days ago I built this: https://github.com/gbartolini/postgres-extensions-containers/tree/main/citus. Any ideas?