Skip to content

Commit fe28952

Browse files
committed
readme
1 parent c82b4a6 commit fe28952

2 files changed

Lines changed: 8 additions & 13 deletions

File tree

Dockerfile

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

44
ARG PG_VERSION=17
@@ -51,6 +51,12 @@ RUN curl -L https://download.osgeo.org/postgis/source/postgis-${POSTGIS_VERSION}
5151
make -j$(nproc) && \
5252
make install
5353

54+
# pg_textsearch (BM25)
55+
RUN git clone --depth 1 https://github.com/timescale/pg_textsearch.git && \
56+
cd pg_textsearch && \
57+
make -j$(nproc) && \
58+
make install
59+
5460
# pgsodium
5561
RUN git clone --branch v${PGSODIUM_VERSION} --depth 1 https://github.com/michelp/pgsodium.git && \
5662
cd pgsodium && \
@@ -78,4 +84,4 @@ COPY --from=builder /usr/local/lib/postgresql/ /usr/local/lib/postgresql/
7884
COPY --from=builder /usr/local/share/postgresql/ /usr/local/share/postgresql/
7985

8086
LABEL org.opencontainers.image.source="https://github.com/constructive-io/docker"
81-
LABEL org.opencontainers.image.description="PostgreSQL 17 with pgvector, PostGIS, Tiger geocoder, and pgsodium"
87+
LABEL org.opencontainers.image.description="PostgreSQL 17 with pgvector, PostGIS, pg_textsearch, and pgsodium"

README.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,3 @@ make shell # psql into container
4848
make clean # Remove image
4949
```
5050

51-
## GitHub Actions
52-
53-
Images are automatically built and pushed to `ghcr.io` on:
54-
- Push to `main`
55-
- Tagged releases (`v*`)
56-
57-
Multi-arch support: `linux/amd64` and `linux/arm64`
58-
59-
## License
60-
61-
MIT License - see [LICENSE](./LICENSE)

0 commit comments

Comments
 (0)