Example to show how to install a Postgres extension using the gitpod/workspace-postgres
image:
Steps:
- Use a custom
.gitpod.Dockerfile
to usegitpod/workspace-postgres
as base image. - Install the PostGIS extension.
- Setup a task in .gitpod.yml to execute a script.
- The script creates a database and creates the extension.