Skip to content

Commit 600baf6

Browse files
committed
fix: pin plpgsql_check to v2.8.5 and use pglinter rule_messages
1 parent aeeeaf5 commit 600baf6

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ FROM postgres:15
44
RUN 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 && \

0 commit comments

Comments
 (0)