File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,8 +20,11 @@ ENV CERTS="{}" \
2020 HBA_EXTRA_RULES=""
2121RUN apk add --no-cache python3 py3-netifaces \
2222 && if [ "${PG_MAJOR:-0}" -ge 12 ]; then \
23- apk add --no-cache --virtual .pgvector-build build-base clang19 llvm19 linux-headers ca-certificates; \
24- wget -qO- "https://github.com/pgvector/pgvector/archive/refs/tags/v${PGVECTOR_VERSION}.tar.gz" \
23+ apk add --no-cache --virtual .pgvector-build build-base linux-headers ca-certificates \
24+ && for v in 23 22 21 20 19; do \
25+ apk add --no-cache --virtual .pgvector-build clang${v} llvm${v} && break; \
26+ done \
27+ && wget -qO- "https://github.com/pgvector/pgvector/archive/refs/tags/v${PGVECTOR_VERSION}.tar.gz" \
2528 | tar -xz -C /tmp; \
2629 cd "/tmp/pgvector-${PGVECTOR_VERSION}" \
2730 && make PG_CONFIG=/usr/local/bin/pg_config \
You can’t perform that action at this time.
0 commit comments