Skip to content

Commit 10f413b

Browse files
committed
add pg_auth_mon extension support
1 parent d4f4ecb commit 10f413b

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

extended/Dockerfile

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ ENV CITUS_VERSION=9.4
1111

1212
RUN apt-get update \
1313
&& apt-get install --no-install-recommends -y wget make gcc unzip sudo git curl libc6-dev apt-transport-https ca-certificates pgxnclient build-essential libevent-dev \
14+
libssl-dev krb5-multidev \
1415
&& apt-get install --no-install-recommends -y postgresql-server-dev-${PG_SERVER_VERSION} \
1516
&& apt-get install --no-install-recommends -y postgresql-${PG_SERVER_VERSION}-repack \
1617
&& apt-get install --no-install-recommends -y postgresql-${PG_SERVER_VERSION}-hypopg \
@@ -65,18 +66,24 @@ RUN apt-get install -y postgresql-${PG_SERVER_VERSION}-cron
6566
RUN pgxn install ddlx && pgxn install postgresql_anonymizer
6667

6768

68-
#add pg_stat_kcache extension
69+
# add pg_stat_kcache extension
6970
RUN apt-get install postgresql-${PG_SERVER_VERSION}-pg-stat-kcache
7071

71-
#add pg_qualstats extension
72+
# add pg_qualstats extension
7273
RUN apt-get install postgresql-${PG_SERVER_VERSION}-pg-qualstats
7374

74-
#bg_mon pg_mon extension
75+
#add pg_mon extension
7576
RUN git clone https://github.com/CyberDem0n/bg_mon.git && cd bg_mon && USE_PGXS=1 make && USE_PGXS=1 make install
7677

78+
# add pgextwlist extension
79+
RUN apt-get install postgresql-${PG_SERVER_VERSION}-pgextwlist
80+
81+
RUN git clone https://github.com/RafiaSabih/pg_auth_mon.git && cd pg_auth_mon && USE_PGXS=1 make && USE_PGXS=1 make install
82+
7783
# Reduce images size.
7884
RUN rm -rf /tmp/* \
7985
&& apt-get purge -y --auto-remove gcc make wget unzip curl libc6-dev apt-transport-https git postgresql-server-dev-${PG_SERVER_VERSION} pgxnclient build-essential libevent-dev \
86+
libssl-dev krb5-multidev comerr-dev krb5-multidev libgssrpc4 libkadm5clnt-mit11 libkadm5srv-mit11 \
8087
&& apt-get clean -y autoclean \
8188
&& rm -rf /var/lib/apt/lists/* \
8289
&& rm -rf /pg_show_plans \

0 commit comments

Comments
 (0)