Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ RUN wget https://github.com/pgvector/pgvector/archive/refs/tags/v${PGVECTOR_VERS
mv pgvector-${PGVECTOR_VERSION} pgvector

WORKDIR /tmp/pgvector
RUN make && make DESTDIR=/pgvector_install install
# Build w/ OPTFLAGS="" for generic x86-64: the default -march=native would tie
# the binary to the CPU of the machine building the image.
RUN make OPTFLAGS="" && make OPTFLAGS="" DESTDIR=/pgvector_install install

ARG BASE_TAG
FROM postgres:${BASE_TAG}-trixie
Expand Down
Loading