File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,8 +4,9 @@ FROM postgres:15
44RUN apt-get update && \
55 apt-get install -y postgresql-server-dev-15 gcc make git curl pkg-config libssl-dev libclang-dev clang && \
66 # Install plpgsql_check (C extension - simple make install)
7+ # Pin to v2.8.5 for stability with PG15
78 cd /tmp && \
8- git clone https://github.com/okbob/plpgsql_check.git && \
9+ git clone --branch v2.8.5 --depth 1 https://github.com/okbob/plpgsql_check.git && \
910 cd plpgsql_check && \
1011 make && \
1112 make install && \
@@ -18,7 +19,7 @@ RUN apt-get update && \
1819 cargo install cargo-pgrx --version 0.16.1 --locked && \
1920 # Initialize pgrx for PostgreSQL 15
2021 cargo pgrx init --pg15 $(which pg_config) && \
21- # Clone and build pglinter (using feat/83/violation_list branch for get_violations API)
22+ # Clone and build pglinter (using feat/83/violation_list branch for get_violations API + rule_messages )
2223 cd /tmp && \
2324 git clone -b feat/83/violation_list https://github.com/pmpetit/pglinter.git && \
2425 cd pglinter && \
You can’t perform that action at this time.
0 commit comments