Skip to content

Commit a0903d5

Browse files
committed
fix(timescaledb-pgrx): fix cargo-pgrx to v0.14.3 for wrappers
1 parent e879a1d commit a0903d5

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

timescaledb-pgrx/Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,18 @@ ENV PG17_PG_CONFIG="/usr/lib/postgresql/17/bin/pg_config"
3838
# Install Rust
3939
# Current Rust version is 1.87.0 at 2025/06/12
4040
# --default-toolchain 1.87.0
41-
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
41+
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
42+
43+
FROM pgrx AS pgrx-wrappers
4244

4345
# Install and initialize pgrx
4446
# Current pgrx version should be 0.14.3 at 2025/06/12
4547
# --version 0.14.3
46-
RUN cargo install --locked cargo-pgrx
48+
RUN cargo install --locked --version=0.14.3 cargo-pgrx
4749
RUN cargo pgrx init --pg17=${PG17_PG_CONFIG}
4850

4951

50-
FROM pgrx AS wrappers
52+
FROM pgrx-wrappers AS wrappers
5153

5254
WORKDIR /home/pgrx
5355

0 commit comments

Comments
 (0)