Skip to content

Commit

Permalink
Update Docker image for pgx 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
syvb committed Oct 7, 2022
1 parent 1f703b9 commit 910ee3d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 0 additions & 2 deletions docker/ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ FROM rust:1.60 AS pgx_builder
COPY docker/ci/setup.sh /
RUN OS_NAME=debian OS_CODE_NAME=bullseye /setup.sh

ENV PATH "/home/postgres/pgx/0.4/bin:${PATH}"

FROM pgx_builder AS rust-pgx

USER root
5 changes: 1 addition & 4 deletions docker/ci/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,7 @@ EOF

# Install cargo pgx
# Keep synchronized with `cargo install --version N.N.N cargo-pgx` in Readme.md and Cargo.toml
cargo install cargo-pgx --version =0.2.4 --root ~/pgx/0.2
cargo install cargo-pgx --version =0.4.5 --root ~/pgx/0.4

PATH=$HOME/pgx/0.4/bin:$PATH
cargo install cargo-pgx --version =0.5.0

# Initialize new PostgreSQL instances and update the configuration
# files so that they can use TimescaleDB that we installed above.
Expand Down

0 comments on commit 910ee3d

Please sign in to comment.