clkao/docker-postgres-plv8(新しいタブで開きます)
主要言語: Dockerfile
Docker image postgres with plv8
- star 数
- 46
- watcher 数
- 4
- fork 数
- 35
- issue 数
- 7
- 最終更新
- 2021/10/04
主要言語: Dockerfile
Docker image postgres with plv8
Docker images for running plv8 1.4, 1.5 and 2.x on Postgres 9.4, 9.5, 9.6, 10, 11 and 12. Based on the official Postgres image.
12-2, latest (12-2/Dockerfile)11-2 (11-2/Dockerfile)10-2 (10-2/Dockerfile)9.6-2, (9.6-2/Dockerfile)9.6-1.4 (9.6-1.4/Dockerfile)9.5-2 (9.5-1.5/Dockerfile)9.5-1.5 (9.5-1.5/Dockerfile)9.5-1.4 (9.5-1.4/Dockerfile)9.4-2 (9.4-1.5/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 -d --name postgres clkao/postgres-plv8 $ 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: clkao/postgres-plv8
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 <majorPostgresVersion> with the latest release available of plv8 <plv8Version> installed.
This image is officially supported on Docker version 19.03, with support for older versions provided on a best-effort basis.
MIT