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 ; \