Code Monkey home page Code Monkey logo

docker-postgres-dev's Introduction

docker-postgres-dev

stars pulls pulls pulls Build Status

Docker image useful for building Debian packages for Postgres extensions.

docker pull dpirotte/postgres-dev:stretch

This image includes the Postgres database server with development headers for all versions of Postgres in PGDG. It also includes fpm and fpm-cookery to easily create packages.

Tags correspond to the OS version.

Distro Version Tag
Debian Jessie (8.x) jessie
Debian Stretch (9.x) stretch, latest
Ubuntu Trusty Tahr (14.04) trusty
Ubuntu Xenial Xerus (16.04) xenial
Ubuntu Bionic Beaver (18.04) bionic

Servers and development headers for Postgres 9.3, 9.4, 9.5, 9.6, 10, and 11 are included.

Usage

This image was designed to make it easier to build and test Postgres extensions against multiple versions of Postgres.

For example, in your Makefile, you can use an environment variable (e.g. PG_VERSION) to find the right version of pg_config. Then, you can run something like the following to test your extension:

docker run \
  --rm -it \
  -e PG_VERSION=11 \
  -v ${PWD}:/build \
  -w /build \
  dpirotte/postgres-dev:stretch \
  bash -c "pg_ctlcluster 11 main start ; make clean install installcheck"

docker-postgres-dev's People

Contributors

dpirotte avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.