Skip to content

Commit

Permalink
Testing extensions
Browse files Browse the repository at this point in the history
Signed-off-by: Niccolò Fei <[email protected]>
  • Loading branch information
NiccoloFei committed Dec 16, 2024
1 parent 818c776 commit 462bb69
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -158,15 +158,14 @@ RUN set -eux ; \
rm -rf /usr/src/postgresql ; \
postgres --version

# Build PgAudit
# See to https://github.com/pgaudit/pgaudit/blob/master/README.md#compile-and-install
# Build pgvector
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 ; \
mkdir -p /usr/src/pgvector ; \
git clone -b master --single-branch https://github.com/pgvector/pgvector.git /usr/src/pgvector ; \
cd /usr/src/pgvector ; \
make install USE_PGXS=1 PG_CONFIG=/usr/lib/postgresql/$PG_MAJOR/bin/pg_config ; \
cd / ; \
rm -rf /usr/src/pgaudit
rm -rf /usr/src/pgvector

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

0 comments on commit 462bb69

Please sign in to comment.