Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/andrioid/techscrolls.
Something went wrong. Try again.
1234567891011121314151617181920212223# Use the official Postgres image as a base imageFROM postgres:17
# Set environment variables for PostgresENV POSTGRES_USER=devuserENV POSTGRES_PASSWORD=devpassENV POSTGRES_DB=devdb
# Install the build dependenciesUSER rootRUN apt-get update && apt-get install -y \ build-essential \ git \ postgresql-server-dev-all \ && rm -rf /var/lib/apt/lists/*
# Clone, build, and install the pgvector extensionRUN cd /tmp \ && git clone --branch v0.5.0 https://github.com/pgvector/pgvector.git \ && cd pgvector \ && make \ && make install