Skip to content
Snippets Groups Projects

Resolve "Add RabbitMQ for MessageBus triggers"

Closed Laurens Oostwegel requested to merge 1-add-rabbitmq-for-messagebus-triggers into master
Compare and
1 file
+ 18
6
Compare changes
  • Side-by-side
  • Inline
+ 18
6
@@ -2,10 +2,22 @@ FROM postgres:13-bullseye
@@ -2,10 +2,22 @@ FROM postgres:13-bullseye
RUN apt-get update \
RUN apt-get update \
&& for POSTGIS_VERSION in 3; do \
&& for POSTGIS_VERSION in 3; do \
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
postgresql-contrib \
postgresql-contrib \
postgresql-$PG_MAJOR-postgis-$POSTGIS_VERSION \
postgresql-$PG_MAJOR-postgis-$POSTGIS_VERSION \
postgresql-$PG_MAJOR-postgis-$POSTGIS_VERSION-scripts; \
postgresql-$PG_MAJOR-postgis-$POSTGIS_VERSION-scripts; \
done \
done \
&& apt-get clean \
&& apt-get install --no-install-recommends -y \
&& rm -rf /var/lib/apt/lists/*
build-essential \
 
git-all \
 
python3-pip \
 
python-dev \
 
python-setuptools \
 
libpq-dev \
 
&& apt-get clean \
 
&& rm -rf /var/lib/apt/lists/*
 
WORKDIR /tmp
 
RUN git clone https://github.com/omniti-labs/pg_amqp.git
 
WORKDIR /tmp/pg_amqp
 
RUN make -I /usr/include/postgresql/13/server/postgres.h \
 
&& make install -I /usr/include/postgresql/13/server/postgres.h
Loading