From 3037052a97ad1cfac4c9dcaa6c8d27fc5c1e6ce6 Mon Sep 17 00:00:00 2001 From: Laurens <laurens@gfz-potsdam.de> Date: Tue, 20 Sep 2022 11:38:06 +0200 Subject: [PATCH] Add AMQP plugin --- Dockerfile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 67e9dee..8412c4c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM postgres:13-bullseye +FROM postgres:14-bullseye RUN apt-get update \ && for POSTGIS_VERSION in 3; do \ @@ -7,5 +7,12 @@ RUN apt-get update \ postgresql-$PG_MAJOR-postgis-$POSTGIS_VERSION \ postgresql-$PG_MAJOR-postgis-$POSTGIS_VERSION-scripts; \ done \ - && apt-get clean \ - && rm -rf /var/lib/apt/lists/* + && apt-get install --no-install-recommends -y \ + git-all postgresql-server-dev-14 make gcc \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* +RUN cd tmp \ + && git clone https://github.com/omniti-labs/pg_amqp.git +RUN cd tmp/pg_amqp \ + && make \ + && make install -- GitLab