Files
compose-projects-arr/stash/postgres/Dockerfile
Christoph Califice ab34c1960d stash
2025-10-10 09:50:30 -03:00

13 lines
447 B
Docker

FROM postgres:14.2
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 \
&& rm -rf pg-spgist_hamming \
&& apt purge -y --auto-remove $buildDeps
EXPOSE 5432
CMD docker-entrypoint.sh postgres