Skip to content

Commit

Permalink
chore: temporarily remove pgadudit (#67)
Browse files Browse the repository at this point in the history
pgaudit doesn't build anymore against the latest master of PG, 
see pgaudit/pgaudit#257 for
more info. Disabling it from the trunk image until it is
compatible again.

Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
  • Loading branch information
NiccoloFei authored Dec 19, 2024
1 parent 7064602 commit ff0b047
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -158,15 +158,16 @@ RUN set -eux ; \
rm -rf /usr/src/postgresql ; \
postgres --version

# TODO: re-enable once https://github.com/pgaudit/pgaudit/issues/257 is fixed
# Build PgAudit
# See to https://github.com/pgaudit/pgaudit/blob/master/README.md#compile-and-install
RUN set -eux ; \
mkdir -p /usr/src/pgaudit ; \
git clone -b main --single-branch https://github.com/pgaudit/pgaudit.git /usr/src/pgaudit ; \
cd /usr/src/pgaudit ; \
make install USE_PGXS=1 PG_CONFIG=/usr/lib/postgresql/$PG_MAJOR/bin/pg_config ; \
cd / ; \
rm -rf /usr/src/pgaudit
# RUN set -eux ; \
# mkdir -p /usr/src/pgaudit ; \
# git clone -b main --single-branch https://github.com/pgaudit/pgaudit.git /usr/src/pgaudit ; \
# cd /usr/src/pgaudit ; \
# make install USE_PGXS=1 PG_CONFIG=/usr/lib/postgresql/$PG_MAJOR/bin/pg_config ; \
# cd / ; \
# rm -rf /usr/src/pgaudit

# Purge build dependencies
RUN set -xe ; \
Expand Down

0 comments on commit ff0b047

Please sign in to comment.