14 lines
307 B
Docker
14 lines
307 B
Docker
|
|
FROM postgres:16-alpine
|
||
|
|
|
||
|
|
RUN apk add --no-cache \
|
||
|
|
git \
|
||
|
|
build-base
|
||
|
|
|
||
|
|
RUN git clone --branch v0.8.0 https://github.com/pgvector/pgvector.git /tmp/pgvector \
|
||
|
|
&& cd /tmp/pgvector \
|
||
|
|
&& make with_llvm=no \
|
||
|
|
&& make install with_llvm=no \
|
||
|
|
&& rm -rf /tmp/pgvector
|
||
|
|
|
||
|
|
RUN apk del git build-base
|