Skip to content

Commit 96f63ac

Browse files
committed
add temporal tables, json_enhancements and pg_amqp
1 parent 819476b commit 96f63ac

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

9.2/Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,14 @@ RUN apt-get update \
3636
&& apt-get install -y postgresql-common \
3737
&& sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf \
3838
&& apt-get install -y \
39+
make gcc python-pip git \
3940
postgresql-$PG_MAJOR=$PG_VERSION \
4041
postgresql-contrib-$PG_MAJOR=$PG_VERSION \
41-
&& rm -rf /var/lib/apt/lists/*
42+
postgresql-server-dev-$PG_MAJOR \
43+
&& rm -rf /var/lib/apt/lists/* \
44+
&& pip install pgxnclient && pgxn install temporal_tables \
45+
&& git clone https://bitbucket.org/IVC-Inc/json_enhancements && cd json_enhancements && NOHSTORE=1 make && make install \
46+
&& cd ~ && git clone https://github.com/omniti-labs/pg_amqp && cd pg_amqp && make && make install
4247

4348
# make the sample config easier to munge (and "correct by default")
4449
RUN mv -v /usr/share/postgresql/$PG_MAJOR/postgresql.conf.sample /usr/share/postgresql/ \

0 commit comments

Comments
 (0)