@@ -3,14 +3,11 @@ ARG CI_COMMIT_SHA
33ARG CI_COMMIT_TAG
44ARG CI_UPSTREAM_VERSION
55
6- # pgvecto.rs binary container
7- FROM tensorchord/pgvecto-rs-binary:pg16-v0.3.0-${TARGETARCH} as pgvectors
8-
96# vchord binary container
10- FROM tensorchord/vchord-binary:pg16 -v0.4.3-${TARGETARCH} as vchord
7+ FROM tensorchord/vchord-binary:pg17 -v0.4.3-${TARGETARCH} as vchord
118
129# main container
13- FROM ghcr.io/cloudnative-pg/postgresql:16.8-14 @sha256:ed9bd4a26b152cf35f2c64e15f48126e3477ad222cfb04794562bdc999b8f0be
10+ FROM ghcr.io/cloudnative-pg/postgresql:17.5-7 @sha256:ce4f594010149f48592359ddd87fb0ba8a99cbc871965d2aaa770d025c5c6025
1411
1512LABEL org.opencontainers.image.authors="Daniel Muehlbachler-Pietrzykowski <daniel.muehlbachler@niftyside.com>"
1613LABEL org.opencontainers.image.vendor="Daniel Muehlbachler-Pietrzykowski"
@@ -25,15 +22,11 @@ LABEL org.opencontainers.image.upstream="${CI_UPSTREAM_VERSION}"
2522# use root to install binaries
2623USER root
2724
28- # taken from https://github.com/tensorchord/pgvecto.rs/
29- COPY --from=pgvectors /pgvecto-rs-binary-release.deb /tmp/vectors.deb
30- RUN apt-get install --yes --no-install-recommends /tmp/vectors.deb && rm -f /tmp/vectors.deb
31-
3225# taken from https://github.com/tensorchord/VectorChord/
3326COPY --from=vchord /workspace/postgresql-*.deb /tmp/vchord.deb
3427RUN apt-get install --yes --no-install-recommends /tmp/vchord.deb && rm -f /tmp/vchord.deb
3528
3629# set user back to postgres
3730USER 26
3831
39- CMD ["postgres" , "-c" ,"shared_preload_libraries=vchord.so,vectors.so " , "-c" , "search_path=\" $user\" , public, vectors" , "-c" , "logging_collector=on" ]
32+ CMD ["postgres" , "-c" ,"shared_preload_libraries=vchord.so" , "-c" , "search_path=\" $user\" , public, vectors" , "-c" , "logging_collector=on" ]
0 commit comments