diff --git a/contrib/vectorscale/Dockerfile b/contrib/vectorscale/Dockerfile index 4fe3e039..697ea6e6 100644 --- a/contrib/vectorscale/Dockerfile +++ b/contrib/vectorscale/Dockerfile @@ -13,14 +13,17 @@ RUN apt-get update && apt-get install -y \ # Install Rust RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y +RUN $HOME/.cargo/bin/cargo install cargo-pgrx --version=0.11.4 --locked +ARG PG_VERSION=16 +RUN $HOME/.cargo/bin/cargo pgrx init --pg$PG_VERSION $(which pg_config) -# Set default Rust version +# # Set default Rust version RUN /root/.cargo/bin/rustup default stable # Clone repository RUN git clone https://github.com/timescale/pgvectorscale.git -ARG EXTENSION_VERSION=v0.2.0 +ARG EXTENSION_VERSION=0.2.0 ARG PG_VERSION=16 # Build extension diff --git a/contrib/vectorscale/Trunk.toml b/contrib/vectorscale/Trunk.toml index 405afe46..e051d4a5 100644 --- a/contrib/vectorscale/Trunk.toml +++ b/contrib/vectorscale/Trunk.toml @@ -1,6 +1,6 @@ [extension] name = "vectorscale" -version = "0.2.0" +version = "0.3.0" repository = "https://github.com/timescale/pgvectorscale" license = "PostgreSQL" description = "A complement to pgvector for high performance, cost efficient vector search on large workloads."