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:
bo0tzz
2024-06-07 07:07:46 +00:00
parent e3c32071cf
commit ba78ee296a
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"`