Skip to content

Commit

Permalink
fix(infra): sccache install
Browse files Browse the repository at this point in the history
See related issue mozilla/sccache#1988

Signed-off-by: vados <[email protected]>
  • Loading branch information
t3hmrman committed Nov 27, 2023
1 parent 3585b41 commit b68ccd3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions infra/docker/ci.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ENV SCCACHE_DIR=/usr/local/sccache

# Install deps
RUN apt update && apt install -y libssl-dev git openssh-client pkg-config curl ca-certificates gnupg wget
RUN cargo install sccache
RUN cargo install sccache --locked

ENV CARGO_BUILD_RUSTC_WRAPPER=/usr/local/cargo/bin/sccache

Expand Down Expand Up @@ -66,7 +66,8 @@ RUN chmod g+w -R /usr/local/build

# Install development/build/testing deps
# NOTE: version of cargo-pgrx must be handled speicfically
RUN su idkit -c "cargo install sccache cargo-cache [email protected]"
RUN su idkit -c "cargo install sccache --locked"
RUN su idkit -c "cargo install cargo-cache [email protected]"

# Initialize pgrx
# NOTE: pgrx must be reinitialized if cargo-pgrx changes
Expand Down

0 comments on commit b68ccd3

Please sign in to comment.