Skip to content
Snippets Groups Projects

Resolve "Add RabbitMQ for MessageBus triggers"

Compare and Show latest version
1 file
+ 16
10
Compare changes
  • Side-by-side
  • Inline
+ 16
10
@@ -2,14 +2,20 @@ FROM postgres:13-bullseye
@@ -2,14 +2,20 @@ 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-server-dev-$PG_MAJOR \
postgresql-$PG_MAJOR-postgis-$POSTGIS_VERSION-scripts; \
postgresql-$PG_MAJOR-postgis-$POSTGIS_VERSION \
 
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 \
WORKDIR /tmp
python3-pip \
RUN git clone https://github.com/omniti-labs/pg_amqp.git
python-dev \
WORKDIR /tmp/pg_amqp
python-setuptools \
RUN make && make install
libpq-dev \
 
&& apt-get clean \
 
&& rm -rf /var/lib/apt/lists/*
 
RUN apt-get libpg-dev \
 
&& pip install pgxnclient \
 
&& pgxnclient install pg_amqp
Loading