Last active
March 7, 2022 16:52
-
-
Save kubaracek/597e8d8b1d74c9882796a263aafbe8b1 to your computer and use it in GitHub Desktop.
TimescaleDB HA with WLTREE extension Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM timescale/timescaledb-ha:pg12-latest | |
USER root | |
RUN apt-get update \ | |
&& apt-get install -y \ | |
git \ | |
build-essential \ | |
musl-dev \ | |
libpq-dev \ | |
postgresql-server-dev-12 \ | |
libicu-dev | |
RUN cd /home/ \ | |
&& git clone https://github.com/adjust/wltree.git \ | |
&& cd wltree \ | |
&& make | |
RUN mv /home/wltree/*.sql /usr/share/postgresql/12/extension/ | |
RUN mv /home/wltree/wltree.control /usr/share/postgresql/12/extension/ | |
RUN mv /home/wltree/*.so /usr/lib/postgresql/12/lib/ | |
USER postgres |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment