File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,18 +26,13 @@ WORKDIR /usr/ports/databases/pgvector
2626RUN make DEFAULT_VERSIONS+=pgsql=${PG_VERSION} BATCH=yes install clean
2727
2828# Build VectorChord from source
29- ARG VECTORCHORD_VERSION=latest
30- RUN if [ "${VECTORCHORD_VERSION}" = "latest" ]; then \
31- VECTORCHORD_VERSION=$(fetch -qo - https://api.github.com/repos/tensorchord/VectorChord/releases/latest | grep -o '"tag_name":"[^"]*"' | head -1 | cut -d'"' -f4); \
32- fi && \
33- echo "Building VectorChord ${VECTORCHORD_VERSION}..." && \
34- fetch -qo /tmp/vectorchord.tar.gz \
29+ ARG VECTORCHORD_VERSION=0.4.3
30+ RUN fetch -qo /tmp/vectorchord.tar.gz \
3531 "https://github.com/tensorchord/VectorChord/archive/refs/tags/${VECTORCHORD_VERSION}.tar.gz" && \
3632 tar -xzf /tmp/vectorchord.tar.gz -C /tmp && \
3733 cd /tmp/VectorChord-${VECTORCHORD_VERSION} && \
3834 gmake build && \
39- gmake install && \
40- mkdir -p /app && echo "${VECTORCHORD_VERSION}" > /app/vectorchord-version
35+ gmake install
4136
4237# Production image
4338FROM ghcr.io/daemonless/postgres:${PG_VERSION}
You can’t perform that action at this time.
0 commit comments