docker-pg

Community

Run PostgreSQL extensions in Docker for testing.

Authorpreedep
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Running PostgreSQL extensions inside Docker containers for integration testing, ensuring environments match production and catching containerization issues early.

Core Features & Use Cases

  • Multi-stage build workflows for building and running PostgreSQL extensions in separate build and runtime images.
  • Guidance to avoid Alpine-based images and ensure glibc-based containers for cdylib extensions, with tips for memory configuration and user switching.
  • Use cases include developing, testing, and validating .so/cdylib extensions with pg_regress in CI pipelines.

Quick Start

Build a Docker image that includes PostgreSQL development headers and use pg_regress to validate your extension.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: docker-pg
Download link: https://github.com/preedep/kham/archive/main.zip#docker-pg

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.