Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
updated the base postgres image to 16 and changed the ps-spgist_hamming git repo to elkorol's updated clang and ubuntu:latest fork (the fake-name repo hasn't been updated in 6 years). tested, works.
  • Loading branch information
L3GW0RK authored Jan 31, 2025
1 parent 740045b commit b1d2cdb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker/production/postgres/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM postgres:14.2
FROM postgres:16

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 \
RUN buildDeps='git make gcc postgresql-server-dev-16' \
&& apt update && apt install -y $buildDeps --no-install-recommends --reinstall ca-certificates clang llvm-dev \
&& git clone https://github.com/elkorol/pg-spgist_hamming.git \
&& make -C pg-spgist_hamming/bktree \
&& make -C pg-spgist_hamming/bktree install \
&& rm -rf pg-spgist_hamming \
Expand Down

0 comments on commit b1d2cdb

Please sign in to comment.