Skip to content

Commit

Permalink
Pg Profile extension for pg15 and pg16
Browse files Browse the repository at this point in the history
  • Loading branch information
anshajsingh committed Jan 24, 2025
1 parent 07154c7 commit 0b81f00
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pg15/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ RUN localedef -i en_US -f UTF-8 en_US.UTF-8 && \
localedef -i es_PE -f UTF-8 es_PE.UTF-8 && \
localedef -i es_ES -f UTF-8 es_ES.UTF-8

RUN wget https://github.com/zubkov-andrei/pg_profile/releases/download/0.3.6/pg_profile--0.3.6.tar.gz && \
tar -xzf pg_profile--0.3.6.tar.gz --directory $(pg_config --sharedir)/extension && \
rm -rf pg_profile--0.3.6.tar.gz
RUN wget https://artifactorycn.netcracker.com/nc.thirdparty.files/zubkov-andrei/pg_profile/pg_profile--4.7.tar.gz && \
tar -xzf pg_profile--4.7.tar.gz --directory $(pg_config --sharedir)/extension && \
rm -rf pg_profile--4.7.tar.gz

# Install pgsentinel and pg_dbms_stats
RUN apt update && apt-get install -y git make gcc && \
Expand Down
4 changes: 4 additions & 0 deletions pg16/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ RUN localedef -i en_US -f UTF-8 en_US.UTF-8 && \
localedef -i es_PE -f UTF-8 es_PE.UTF-8 && \
localedef -i es_ES -f UTF-8 es_ES.UTF-8

RUN wget https://artifactorycn.netcracker.com/nc.thirdparty.files/zubkov-andrei/pg_profile/pg_profile--4.7.tar.gz && \
tar -xzf pg_profile--4.7.tar.gz --directory $(pg_config --sharedir)/extension && \
rm -rf pg_profile--4.7.tar.gz

# Install pgsentinel and pg_dbms_stats
RUN apt update && apt-get install -y git make gcc && \
git clone https://github.com/pgsentinel/pgsentinel.git && \
Expand Down

0 comments on commit 0b81f00

Please sign in to comment.