Skip to content

Commit 67c3132

Browse files
authored
update pgrx ver in build (#27)
1 parent 650c56f commit 67c3132

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

images/vectorize-pg/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,18 @@ RUN git clone https://github.com/citusdata/pg_cron.git && \
3737
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
3838
RUN $HOME/.cargo/bin/rustup default stable
3939

40+
# install pgrx
41+
RUN $HOME/.cargo/bin/cargo install cargo-pgrx --version=0.11.0 --locked
42+
4043
# install pgmq
41-
RUN $HOME/.cargo/bin/cargo install cargo-pgrx --version=0.10.2 --locked
4244
RUN $HOME/.cargo/bin/cargo pgrx init --pg15 $(which pg_config)
4345

4446
RUN git clone https://github.com/tembo-io/pgmq.git && \
4547
cd pgmq && $HOME/.cargo/bin/cargo pgrx install --pg-config=$(which pg_config) && \
4648
cd .. && rm -rf pgmq
4749

50+
# install pg-vectorize
4851
COPY . .
49-
50-
RUN $HOME/.cargo/bin/cargo install cargo-pgrx --version=0.11.0 --locked
5152
RUN $HOME/.cargo/bin/cargo pgrx install --pg-config=$(which pg_config)
5253

5354
FROM postgres:15.4-bookworm

0 commit comments

Comments
 (0)