File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
- ARG PG_SERVER_VERSION=11
1
+ ARG PG_SERVER_VERSION=9.6
2
2
ARG CITUS=9.4
3
3
4
4
FROM postgres:${PG_SERVER_VERSION}
@@ -10,7 +10,7 @@ ENV PG_SERVER_VERSION=${PG_SERVER_VERSION:-12}
10
10
ENV CITUS_VERSION=9.4
11
11
12
12
RUN apt-get update \
13
- && apt-get install --no-install-recommends -y wget make gcc unzip sudo git curl libc6-dev apt-transport-https ca-certificates pgxnclient build-essential \
13
+ && 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
14
&& apt-get install --no-install-recommends -y postgresql-server-dev-${PG_SERVER_VERSION} \
15
15
&& apt-get install --no-install-recommends -y postgresql-${PG_SERVER_VERSION}-repack \
16
16
&& apt-get install --no-install-recommends -y postgresql-${PG_SERVER_VERSION}-hypopg \
@@ -71,10 +71,12 @@ RUN apt-get install postgresql-${PG_SERVER_VERSION}-pg-stat-kcache
71
71
# add pg_qualstats extension
72
72
RUN apt-get install postgresql-${PG_SERVER_VERSION}-pg-qualstats
73
73
74
+ # bg_mon pg_mon extension
75
+ RUN git clone https://github.com/CyberDem0n/bg_mon.git && cd bg_mon && USE_PGXS=1 make && USE_PGXS=1 make install
74
76
75
77
# Reduce images size.
76
78
RUN rm -rf /tmp/* \
77
- && 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 \
79
+ && 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 \
78
80
&& apt-get clean -y autoclean \
79
81
&& rm -rf /var/lib/apt/lists/* \
80
82
&& rm -rf /pg_show_plans \
You can’t perform that action at this time.
0 commit comments