Skip to content

Commit 17eca8d

Browse files
committed
upgrades
1 parent d2e90d4 commit 17eca8d

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

Dockerfile

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44
ARG PG_VERSION=17
55
ARG PGVECTOR_VERSION=0.8.0
66
ARG 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
108
ARG PGSODIUM_VERSION=3.1.9
119

1210
#############################################
@@ -16,7 +14,7 @@ FROM postgres:${PG_VERSION}-alpine AS builder
1614

1715
ARG PGVECTOR_VERSION
1816
ARG POSTGIS_VERSION
19-
ARG PG_TEXTSEARCH_COMMIT
17+
ARG PG_TEXTSEARCH_VERSION
2018
ARG PGSODIUM_VERSION
2119

2220
RUN 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

0 commit comments

Comments
 (0)