Skip to content

Commit 1e23fa1

Browse files
authored
Merge pull request #9 from constructive-io/build/pg-18-bm25-fix
Build/pg 18 bm25 fix
2 parents f7158b6 + 44199e5 commit 1e23fa1

3 files changed

Lines changed: 6 additions & 7 deletions

File tree

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Lean PostgreSQL image with pgvector, PostGIS, and pg_textsearch
22
# Multi-stage build - all toolchains discarded, only artifacts kept
33

4-
ARG PG_VERSION=17
5-
ARG PGVECTOR_VERSION=0.8.0
6-
ARG POSTGIS_VERSION=3.5.1
7-
ARG PG_TEXTSEARCH_VERSION=0.6.0
4+
ARG PG_VERSION=18
5+
ARG PGVECTOR_VERSION=0.8.2
6+
ARG POSTGIS_VERSION=3.6.2
7+
ARG PG_TEXTSEARCH_VERSION=0.6.1
88

99
#############################################
1010
# Stage 1: Build extensions
@@ -82,4 +82,4 @@ COPY --from=builder /usr/local/share/postgresql/ /usr/local/share/postgresql/
8282
RUN echo "shared_preload_libraries = 'pg_textsearch'" >> /usr/local/share/postgresql/postgresql.conf.sample
8383

8484
LABEL org.opencontainers.image.source="https://github.com/constructive-io/docker"
85-
LABEL org.opencontainers.image.description="PostgreSQL 17 with pgvector, PostGIS, and pg_textsearch"
85+
LABEL org.opencontainers.image.description="PostgreSQL 18 with pgvector, PostGIS, and pg_textsearch"

Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ test: build
3939
CREATE EXTENSION vector; \
4040
CREATE EXTENSION postgis; \
4141
CREATE EXTENSION pg_textsearch; \
42-
CREATE EXTENSION pgsodium; \
4342
SELECT 'all extensions OK';"
4443
@docker stop $(CONTAINER_NAME)-test > /dev/null
4544
@docker rm $(CONTAINER_NAME)-test > /dev/null

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<img src="https://raw.githubusercontent.com/constructive-io/docker/refs/heads/main/img/logo.svg" alt="constructive" height="180"><br />
55
</p>
66

7-
Lean PostgreSQL 17 image with essential extensions for modern applications.
7+
Lean PostgreSQL 18 image with essential extensions for modern applications.
88

99
## Extensions
1010

0 commit comments

Comments
 (0)