Skip to content

Commit

Permalink
Update Dockerfile with new pgrx steps
Browse files Browse the repository at this point in the history
  • Loading branch information
vrmiguel committed Aug 6, 2024
1 parent fa05583 commit d685b49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/pg_search/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ RUN apt-get update && apt-get install -y \

# Install Rust
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
RUN cargo install cargo-pgrx --version 0.11.0 --locked

# Set default Rust version
RUN /root/.cargo/bin/rustup default stable
ARG PG_VERSION=15


# Clone repository
Expand All @@ -27,5 +27,5 @@ RUN git clone https://github.com/paradedb/paradedb.git && \
# Build the extension
RUN cd paradedb && \
cd pg_search && \
cargo pgrx init --pg15 /usr/bin/pg_config && \
cargo pgrx init --pg${PG_VERSION} /usr/bin/pg_config && \
cargo pgrx package

0 comments on commit d685b49

Please sign in to comment.