Merge pull request #34 from tensorchord/chore/remove-dockerfile-upstream

This commit is contained in:
xieydd
2024-06-21 23:33:27 +08:00
committed by GitHub
2 changed files with 6 additions and 2 deletions

View File

@@ -1,4 +1,3 @@
# syntax=docker/dockerfile-upstream:master
ARG CNPG_TAG
FROM ghcr.io/cloudnative-pg/postgresql:$CNPG_TAG

View File

@@ -26,4 +26,9 @@ Container images for [cloudnative-pg](https://cloudnative-pg.io/) with the [pgve
> initdb:
> postInitSQL:
> - ALTER SYSTEM SET search_path TO "$user", public, vectors;
> - CREATE EXTENSION IF NOT EXISTS "vectors";
> - CREATE EXTENSION IF NOT EXISTS "vectors";
## Building
To build the Dockerfile locally, you need to pass the `CNPG_TAG` and `PGVECTORS_TAG` args. For example:
`docker build . --build-arg="CNPG_TAG=16.3" --build-arg="PGVECTORS_TAG=v0.2.1"`