Skip to content

Commit

Permalink
chore: Remove upstream dockerfile directive
Browse files Browse the repository at this point in the history
The arg substitution syntax we use has now made it into the default dockerfile syntax
  • Loading branch information
bo0tzz committed Jun 7, 2024
1 parent e3c3207 commit 50cddd9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# syntax=docker/dockerfile-upstream:master
ARG CNPG_TAG

FROM ghcr.io/cloudnative-pg/postgresql:$CNPG_TAG
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"`

0 comments on commit 50cddd9

Please sign in to comment.