File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44ARG PG_VERSION=17
55ARG PGVECTOR_VERSION=0.8.0
66ARG POSTGIS_VERSION=3.5.1
7- # Pin to main branch commit that includes the ResourceOwnerEnlarge crash fix (PR #248)
8- # No tagged release includes this fix yet (latest release is v0.5.1)
9- ARG PG_TEXTSEARCH_COMMIT=ae1c221
7+ ARG PG_TEXTSEARCH_VERSION=0.6.0
108ARG PGSODIUM_VERSION=3.1.9
119
1210# ############################################
@@ -16,7 +14,7 @@ FROM postgres:${PG_VERSION}-alpine AS builder
1614
1715ARG PGVECTOR_VERSION
1816ARG POSTGIS_VERSION
19- ARG PG_TEXTSEARCH_COMMIT
17+ ARG PG_TEXTSEARCH_VERSION
2018ARG PGSODIUM_VERSION
2119
2220RUN apk add --no-cache \
@@ -59,12 +57,8 @@ RUN curl -L https://download.osgeo.org/postgis/source/postgis-${POSTGIS_VERSION}
5957 make install
6058
6159# pg_textsearch (BM25)
62- # Build from main at a specific commit to include the temp-table/transaction
63- # crash fix (PR #248, issue #247: ResourceOwnerEnlarge on rollback).
64- # The math.h workaround is no longer needed (fixed upstream in v0.3.0).
65- RUN git clone https://github.com/timescale/pg_textsearch.git && \
60+ RUN git clone --branch v${PG_TEXTSEARCH_VERSION} --depth 1 https://github.com/timescale/pg_textsearch.git && \
6661 cd pg_textsearch && \
67- git checkout ${PG_TEXTSEARCH_COMMIT} && \
6862 make -j$(nproc) && \
6963 make install
7064
You can’t perform that action at this time.
0 commit comments