From 462bb690cdc194cb05879481dfaa85dd0a76637e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niccol=C3=B2=20Fei?= Date: Mon, 16 Dec 2024 15:44:48 +0100 Subject: [PATCH] Testing extensions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Niccolò Fei --- Dockerfile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0b62e06..238767a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 ; \