From 66c1ca8d5529ce8db60c73d50bafac1da705d650 Mon Sep 17 00:00:00 2001 From: Jeremi Joslin Date: Thu, 1 Feb 2024 14:44:45 +0700 Subject: [PATCH] Add useful postgres modules --- Dockerfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Dockerfile b/Dockerfile index 01c1a30..563363d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,6 +22,20 @@ RUN apk add --no-cache python3 \ RUN apk add --no-cache py3-netifaces COPY autoconf-entrypoint / +RUN apk add --no-cache -t .build \ + postgresql-dev postgresql-contrib \ + curl-dev libcurl \ + wget jq cmake build-base ca-certificates py3-pip pipx && \ + pipx ensurepath && \ + pipx install pgxnclient && \ + export PATH=$PATH:/root/.local/bin && \ + pgxn install pg_qualstats && \ + pgxn install pg_stat_kcache && \ + pgxn install pg_track_settings && \ + pgxn install powa && \ + pgxn install postgresql_anonymizer && \ + apk del .build + # Metadata ARG VCS_REF ARG BUILD_DATE