-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
See related issue mozilla/sccache#1988 Signed-off-by: vados <[email protected]>
- Loading branch information
Showing
1 changed file
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
||
|
@@ -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 | ||
|