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- ARG PG_TEXTSEARCH_VERSION=0.6.0
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
810
911# ############################################
1012# Stage 1: Build extensions
@@ -13,7 +15,7 @@ FROM postgres:${PG_VERSION}-alpine AS builder
1315
1416ARG PGVECTOR_VERSION
1517ARG POSTGIS_VERSION
16- ARG PG_TEXTSEARCH_VERSION
18+ ARG PG_TEXTSEARCH_COMMIT
1719
1820RUN apk add --no-cache \
1921 git \
@@ -54,8 +56,11 @@ RUN curl -L https://download.osgeo.org/postgis/source/postgis-${POSTGIS_VERSION}
5456 make install
5557
5658# pg_textsearch (BM25)
57- RUN git clone --branch v${PG_TEXTSEARCH_VERSION} --depth 1 https://github.com/timescale/pg_textsearch.git && \
59+ # Build from main at a specific commit to include the ResourceOwnerEnlarge
60+ # crash fix (PR #248, issue #247). No tagged release includes this fix yet.
61+ RUN git clone https://github.com/timescale/pg_textsearch.git && \
5862 cd pg_textsearch && \
63+ git checkout ${PG_TEXTSEARCH_COMMIT} && \
5964 make -j$(nproc) && \
6065 make install
6166
You can’t perform that action at this time.
0 commit comments