All checks were successful
CI / Build wildfly docker images (push) Successful in 2m30s
15 lines
355 B
Docker
15 lines
355 B
Docker
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 https://github.com/pgvector/pgvector.git 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
|