PostgreSQL with pgvector extension
183
This Docker image contains PostgreSQL https://www.postgresql.org, pgvector https://github.com/pgvector/pgvector and Debian https://www.debian.org/index.en.html.
PostgreSQL and pgvector are released under the PostgreSQL License https://opensource.org/license/postgresql, a liberal Open Source license, similar to the BSD or MIT licenses.
Portions Copyright © 1996-2025, The PostgreSQL Global Development Group
Portions Copyright © 1994, The Regents of the University of California
View license information https://www.debian.org/social_contract#guidelines for the software contained in the Debian base image.
Dockerfile
FROM postgres@sha256:86717e5efb6cbea47812978d06ae953d83acea41f31b796af11087df4b31de52
RUN apt-get update
&& apt-mark hold locales
&& apt-get install -y --no-install-recommends ca-certificates git build-essential postgresql-server-dev-18
&& cd /tmp
&& git clone --branch v0.8.2 https://github.com/pgvector/pgvector.git
&& cd pgvector
&& make clean
&& make OPTFLAGS="-march=skylake -mtune=skylake"
&& make install
&& mkdir /usr/share/doc/pgvector
&& cp LICENSE README.md /usr/share/doc/pgvector
&& rm -r /tmp/pgvector
&& apt-get remove -y ca-certificates git build-essential postgresql-server-dev-18
&& apt-get autoremove -y
&& apt-mark unhold locales
&& rm -rf /var/lib/apt/lists/*
Content type
Image
Digest
sha256:51d486aaf…
Size
156.3 MB
Last updated
5 months ago
docker pull amotzek/postgres-pgvector:18.3