Docker images for running plv8 1.4, 1.5 and 2.0 on Postgres 9 (9.4, 9.5 and 9.6). Based on the official Postgres image.
9.6-2.0
,latest
(9.6-2.0/Dockerfile)9.6-1.5
(9.6-1.5/Dockerfile)9.6-1.4
(9.6-1.4/Dockerfile)9.5-2.0
(9.5-2.0/Dockerfile)9.5-1.5
(9.5-1.5/Dockerfile)9.5-1.4
(9.5-1.4/Dockerfile)9.4-2.0
(9.4-2.0/Dockerfile)9.4-1.5
(9.4-1.5/Dockerfile)9.4-1.4
(9.4-1.4/Dockerfile)
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 clkao/postgres-plv8:9.6-2.0
$ docker run --rm --link postgres:postgres -it clkao/postgres-plv8:9.6-2.0 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: clkao/postgres-plv8:9.6-2.0
The clkao/postgres-plv8
image comes in multiple flavors:
Points to the latest release available of Postgres stable with compatible plv8 installed. Occasionally pre-release versions will be included.
Points to the latest release available of Postgres <postgresVersion>
with the latest release available of plv8 <plv8Version>
installed.
This image is officially supported on Docker version 1.10, with support for older versions provided on a best-effort basis.
MIT