Merge commit 'd803bfe2b1fe7f5e219e50ac20d6801a0a58ac75' as 'vendor/ruvector'
This commit is contained in:
24
vendor/ruvector/crates/ruvector-postgres/docker/Dockerfile.test
vendored
Normal file
24
vendor/ruvector/crates/ruvector-postgres/docker/Dockerfile.test
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
# Test Runner Dockerfile for RuVector-Postgres
|
||||
FROM rust:1.75-bookworm
|
||||
|
||||
# Install dependencies
|
||||
RUN apt-get update && apt-get install -y \
|
||||
postgresql-client-16 \
|
||||
libclang-dev \
|
||||
clang \
|
||||
pkg-config \
|
||||
libssl-dev \
|
||||
cmake \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install pgrx
|
||||
RUN cargo install cargo-pgrx --version 0.12.6 --locked
|
||||
|
||||
# Install additional test tools
|
||||
RUN cargo install cargo-nextest --locked
|
||||
RUN cargo install cargo-criterion --locked
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Default command
|
||||
CMD ["cargo", "test", "--features", "pg_test"]
|
||||
Reference in New Issue
Block a user