File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 11FROM timescale/timescaledb-ha:pg17 AS pgrx
22
3+ # Current pgrx version is 0.16.1 at 2026/01/09
4+ # see: https://github.com/supabase/wrappers/commit/eea6f87f
5+ ARG PGRX_VER="0.16.1"
6+
7+ # Current Rust version is 1.87.0 at 2025/06/12
8+ ARG RUST_VER="1.87.0"
9+
310USER root
411
512RUN \
@@ -36,16 +43,12 @@ ENV PATH="/home/pgrx/.cargo/bin:${PATH}"
3643ENV PG17_PG_CONFIG="/usr/lib/postgresql/17/bin/pg_config"
3744
3845# Install Rust
39- # Current Rust version is 1.87.0 at 2025/06/12
40- # --default-toolchain 1.87.0
41- RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
46+ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain "${RUST_VER}"
4247
4348FROM pgrx AS pgrx-wrappers
4449
4550# Install and initialize pgrx
46- # Current pgrx version should be 0.14.3 at 2025/06/12
47- # --version 0.14.3
48- RUN cargo install --locked --version=0.14.3 cargo-pgrx
51+ RUN cargo install --locked --version "${PGRX_VER}" cargo-pgrx
4952RUN cargo pgrx init --pg17=${PG17_PG_CONFIG}
5053
5154
You can’t perform that action at this time.
0 commit comments