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,16 +2,22 @@ FROM postgres:13-bullseye
RUN apt-get update \
&& for POSTGIS_VERSION in 3; do \
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
postgresql-contrib \
postgresql-$PG_MAJOR-postgis-$POSTGIS_VERSION \
postgresql-$PG_MAJOR-postgis-$POSTGIS_VERSION-scripts \
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
postgresql-contrib \
postgresql-$PG_MAJOR-postgis-$POSTGIS_VERSION \
postgresql-$PG_MAJOR-postgis-$POSTGIS_VERSION-scripts; \
done \
&& apt-get install --no-install-recommends -y \
build-essential \
git-all \
python3-pip \
python-dev \
python-setuptools; \
done \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN pip install pgxnclient
RUN pgxnclient install pg_amqp
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