stash-box postgres

This commit is contained in:
2025-10-06 10:47:25 -03:00
parent 7f47de1ee8
commit 661d919652
2 changed files with 14 additions and 1 deletions

12
stash/postgres/Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
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 \
&& git clone https://github.com/fake-name/pg-spgist_hamming.git \
&& make -C pg-spgist_hamming/bktree \
&& make -C pg-spgist_hamming/bktree install \
&& rm -rf pg-spgist_hamming \
&& apt purge -y --auto-remove $buildDeps
EXPOSE 5432
CMD docker-entrypoint.sh postgres