added pgvector docker image
Some checks failed
CI / Build wildfly docker images (push) Failing after 42s
Some checks failed
CI / Build wildfly docker images (push) Failing after 42s
This commit is contained in:
14
pgvector/Dockerfile
Normal file
14
pgvector/Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
ARG PG_VERSION=17
|
||||
FROM postgres:${PG_VERSION}-alpine AS build
|
||||
|
||||
WORKDIR /
|
||||
RUN apk update
|
||||
RUN apk add gcc make musl-dev clang19 llvm19 git
|
||||
RUN git clone --branch v0.8.0 github.com/pgvector/pgvector.git#v0.8.0 pgvector
|
||||
WORKDIR pgvector
|
||||
RUN make
|
||||
RUN make install
|
||||
|
||||
FROM postgres:alpine AS release
|
||||
RUN rm -rf /usr/local
|
||||
COPY --from=build /usr/local /usr/local
|
Reference in New Issue
Block a user