Skip to content
Snippets Groups Projects

Resolve "Add RabbitMQ for MessageBus triggers"

Compare and Show latest version
1 file
+ 11
7
Compare changes
  • Side-by-side
  • Inline
+ 11
7
@@ -4,12 +4,16 @@ RUN apt-get update \
&& for POSTGIS_VERSION in 3; do \
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
postgresql-contrib \
postgresql-server-dev-$PG_MAJOR \
postgresql-$PG_MAJOR-postgis-$POSTGIS_VERSION \
postgresql-$PG_MAJOR-postgis-$POSTGIS_VERSION-scripts; \
postgresql-$PG_MAJOR-postgis-$POSTGIS_VERSION-scripts \
build-essential \
python3-pip \
python-dev \
python-setuptools \
libpq-dev; \
done \
&& 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 && make install
apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN pip install pgxnclient
&& pgxnclient install pg_amqp
Loading