Skip to content

Commit 66c1ca8

Browse files
committed
Add useful postgres modules
1 parent d446b35 commit 66c1ca8

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Dockerfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,20 @@ RUN apk add --no-cache python3 \
2222
RUN apk add --no-cache py3-netifaces
2323
COPY autoconf-entrypoint /
2424

25+
RUN apk add --no-cache -t .build \
26+
postgresql-dev postgresql-contrib \
27+
curl-dev libcurl \
28+
wget jq cmake build-base ca-certificates py3-pip pipx && \
29+
pipx ensurepath && \
30+
pipx install pgxnclient && \
31+
export PATH=$PATH:/root/.local/bin && \
32+
pgxn install pg_qualstats && \
33+
pgxn install pg_stat_kcache && \
34+
pgxn install pg_track_settings && \
35+
pgxn install powa && \
36+
pgxn install postgresql_anonymizer && \
37+
apk del .build
38+
2539
# Metadata
2640
ARG VCS_REF
2741
ARG BUILD_DATE

0 commit comments

Comments
 (0)