mirror of
https://github.com/YuzuZensai/cloudnative-vectorchord-pgvecto.rs.git
synced 2026-01-06 04:33:02 +00:00
chore: Remove upstream dockerfile directive
The arg substitution syntax we use has now made it into the default dockerfile syntax Signed-off-by: bo0tzz <git@bo0tzz.me>
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
# syntax=docker/dockerfile-upstream:master
|
||||
ARG CNPG_TAG
|
||||
|
||||
FROM ghcr.io/cloudnative-pg/postgresql:$CNPG_TAG
|
||||
|
||||
@@ -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"`
|
||||
Reference in New Issue
Block a user