This commit is contained in:
Christoph Califice
2025-10-09 20:05:31 -03:00
parent 0a5f88d75a
commit ab34c1960d
6 changed files with 260 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
FROM postgres:14.2
RUN buildDeps='git make gcc postgresql-server-dev-14' \
&& apt update && apt install -y $buildDeps --no-install-recommends --reinstall ca-certificates \
RUN buildDeps='git make gcc postgresql-server-dev-14 libc-dev binutils' \
&& apt update && apt install -y $buildDeps --reinstall ca-certificates \
&& git clone https://github.com/fake-name/pg-spgist_hamming.git \
&& make -C pg-spgist_hamming/bktree \
&& make -C pg-spgist_hamming/bktree install \
@@ -9,4 +9,4 @@ RUN buildDeps='git make gcc postgresql-server-dev-14' \
&& apt purge -y --auto-remove $buildDeps
EXPOSE 5432
CMD docker-entrypoint.sh postgres
CMD docker-entrypoint.sh postgres