1.6 KiB
1.6 KiB
tensorzero/postgres
Postgres images bundling pgvector and pg_cron for use in TensorZero examples and development.
Published tags
| Tag | Postgres version |
|---|---|
tensorzero/postgres:18.3, tensorzero/postgres:18 |
18.3 |
tensorzero/postgres:17.9, tensorzero/postgres:17 |
17.9 |
tensorzero/postgres:16.13, tensorzero/postgres:16 |
16.13 |
tensorzero/postgres:15.17, tensorzero/postgres:15 |
15.17 |
tensorzero/postgres:14.22, tensorzero/postgres:14 |
14.22 |
All images are multi-arch (linux/amd64 and linux/arm64).
Building and pushing
Images are built locally and pushed to Docker Hub (not via CI). This requires:
docker buildxwith a builder that supportslinux/amd64,linux/arm64. Create one with:docker buildx create --name multiarch --use docker buildx inspect --bootstrap- Docker Hub login:
docker login
Then run:
# All versions
./build-and-push.sh
# Single version (by major)
./build-and-push.sh 17
Multi-arch builds with --push are not stored locally — the images go directly to the registry. There is no way to push after a local-only build, so --push is always included in the script.
Local testing
To build for your local architecture and test without pushing:
docker build --build-arg PG_MAJOR=17 -t tensorzero/postgres:local ci/docker/postgres
docker run --rm tensorzero/postgres:local