Docker images for running plv8 2.x on Postgres 9 (and later). Based on the official Postgres image.
![smaktacular/postgres-plv8][docker-size-image] ![smaktacular/postgres-plv8][docker-layers-image]
121-2312
,latest
(121-2312/Dockerfile)
This image behaves exactly like the official Postgres image with the only difference being the inclusion of the plv8 extension.
$ docker run -d --name postgres smaktacular/postgres-plv8:121-2312
$ docker exec -it postgres bash -c 'psql -U postgres -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: smaktacular/postgres-plv8:121-2312
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 supported on Docker version 19.03, with support for older versions provided on a best-effort basis.
MIT