@@ -14,6 +14,7 @@ ARG OLD_PG_VERSIONS
1414ARG PG_SUPPORTED_VERSIONS="$PGVERSION"
1515ARG PG_SUPPORTED_VERSIONS="$OLD_PG_VERSIONS $PGVERSION"
1616ARG ETCD_VERSION
17+ ARG PGVECTOR
1718ARG ARCH
1819
1920# Spilo-specific
@@ -83,7 +84,8 @@ RUN pip3 install 'PyYAML<6.0' setuptools pystache loader kazoo meld3 boto python
8384 && mkdir /usr/lib/postgresql \
8485 && git clone -b $PG_PERMISSIONS https://github.com/cybertec-postgresql/pg_permissions.git \
8586 && git clone -b $SET_USER https://github.com/pgaudit/set_user.git \
86- # && git clone https://github.com/dimitri/pgextwlist.git \
87+ && git clone -b $PGVECTOR https://github.com/pgvector/pgvector.git \
88+ && git clone https://github.com/dimitri/pgextwlist.git \
8789 && git clone https://github.com/crunchydata/pgnodemx \
8890\
8991 && ${PACKAGER} -y install --nodocs --noplugins --setopt=install_weak_deps=0 postgresql${PGVERSION} libevent-devel brotli-devel libbrotli \
@@ -108,11 +110,11 @@ RUN pip3 install 'PyYAML<6.0' setuptools pystache loader kazoo meld3 boto python
108110 # Install TimescaleDB
109111 && ${PACKAGER} -y install timescaledb_${version} \
110112 && cd / \
111- && for n in set_user pg_permissions $EXTRA_EXTENSIONS; do \
113+ && for n in set_user pg_permissions pgvector $EXTRA_EXTENSIONS; do \
112114 # pg_profile-${PG_PROFILE} pg_tm_aux-${PG_TM_AUX_COMMIT} bg_mon-${BG_MON_COMMIT} pg_auth_mon-${PG_AUTH_MON_COMMIT}
113115 make -C $n USE_PGXS=1 clean install-strip; \
114116 done \
115- # && cd /pgextwlist && make clean && make && make install \
117+ && cd /pgextwlist && make clean && make && make install \
116118 && cd /pgnodemx && make USE_PGXS=1 clean && make USE_PGXS=1 && make USE_PGXS=1 install; \
117119 done \
118120 && ${PACKAGER} -y install --nodocs --noplugins --setopt=install_weak_deps=0 glibc-static \
@@ -122,7 +124,7 @@ RUN pip3 install 'PyYAML<6.0' setuptools pystache loader kazoo meld3 boto python
122124 RUN cd /package && tar -xvzf runit-2.1.2.tar.gz && rm runit-2.1.2.tar.gz \
123125 && cd admin/runit-2.1.2 && package/install \
124126 && ln -s /usr/local/bin/runsvdir /usr/bin/runsvdir \
125- && rm -rf /pg_permissions /pgextwlist /pg_stat_kcache /pgnodemx /timescaledb /set_user /pam-oauth2 \
127+ && rm -rf /pg_permissions /pgextwlist /pg_stat_kcache /pgvector / pgnodemx /timescaledb /set_user /pam-oauth2 \
126128 && rm /etc/pgbackrest.conf && rm -rf /var/spool/pgbackrest \
127129 && ${PACKAGER} -y remove $(rpm -qa "*devel*" ) python3-pip python3-wheel python3-dev python3-setuptools git patchutils flatpak glibc-static gcc glibc-devel \
128130 && ${PACKAGER} -y autoremove \
0 commit comments