Skip to content

MyUNiDAYS/docker-postgres-plv8

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

postgres-plv8

Inspired by of clkao/postgres-plv8

Docker images for running plv8 based on Amazon RDS support (9.3, 9.4, 9.5, 9.6, 10) using the RDS supported plv8 version as defined in the AWS Docs. Based on the official Postgres image.

unidays/postgres-plv8 unidays/postgres-plv8

Supported tags and respective Dockerfile links

Usage

How to use this image

This image behaves exactly like the official Postgres image with the only difference being the inclusion of the plv8 extension.

$ docker run --rm --name postgres -it unidays/postgres-plv8:9.5.2-1.4.4
$ docker run --rm --link postgres:postgres -it unidays/postgres-plv8:9.5.2-1.4.4 bash -c "psql -U postgres -h \$POSTGRES_PORT_5432_TCP_ADDR -t -c \"CREATE EXTENSION plv8; SELECT extversion FROM pg_extension WHERE extname = 'plv8';\""

You should see the version of the plv8 extension installed.

You can optionally create a service using docker-compose:

postgres:
  image: unidays/postgres-plv8:9.5.2-1.4.4

Image variants

The unidays/postgres-plv8 image comes in multiple flavors:

unidays/postgres-plv8:<postgresVersion>-<plv8Version>

Points to the latest release available of Postgres <postgresVersion> on AWS RDS with the latest release available of plv8 <plv8Version> installed.

Supported Docker versions

This image is officially supported on Docker version 1.10, with support for older versions provided on a best-effort basis.

License

MIT

Releases

No releases published

Packages

No packages published