Files
postgres-ts-vectors/build.sh
Maxime Killinger cb58167e53
Some checks failed
🚀 Docker Build and Push / build-and-push (15) (push) Successful in 7m47s
🚀 Docker Build and Push / build-and-push (16) (push) Successful in 5m42s
🚀 Docker Build and Push / build-and-push (18) (push) Has been cancelled
🚀 Docker Build and Push / build-and-push (17) (push) Has been cancelled
feat: PostgreSQL image with TimescaleDB, VectorChord, pgvector
- Multi-stage Dockerfile for optimized image size (676MB vs 2GB)
- Support for PostgreSQL 15, 16, 17, 18
- TimescaleDB 2.24.0, VectorChord 1.0.0, pgvector 0.8.1
- Auto-creation of extensions on first startup
- CI/CD with tests for all versions
- OCI labels and healthcheck included
2025-12-19 11:57:54 +01:00

15 lines
327 B
Bash

#!/bin/bash
# Build script for TimescaleDB + VectorChord + pgvector
PG_VERSION=${1:-18}
IMAGE_NAME="timescaledb-vectorchord"
echo "Building for PostgreSQL ${PG_VERSION}..."
docker build \
--build-arg PG_VERSION=${PG_VERSION} \
-t ${IMAGE_NAME}:pg${PG_VERSION} \
.
echo "Build complete: ${IMAGE_NAME}:pg${PG_VERSION}"