mirror of
https://github.com/serai-dex/serai.git
synced 2025-03-12 09:26:51 +00:00
parent
af86b7a499
commit
cc917a217d
1 changed files with 16 additions and 4 deletions
|
@ -18,12 +18,24 @@ WORKDIR /serai
|
|||
RUN rustup update
|
||||
|
||||
# Install Solc @ 0.8.16
|
||||
RUN pip3 install solc-select==0.2.1
|
||||
RUN solc-select install 0.8.16
|
||||
RUN solc-select use 0.8.16
|
||||
RUN --mount=type=cache,target=/root/.cache/ \
|
||||
--mount=type=cache,target=/root/.local/ \
|
||||
--mount=type=cache,target=/root/.solc-select \
|
||||
pip3 install solc-select==0.2.1
|
||||
RUN --mount=type=cache,target=/root/.cache/ \
|
||||
--mount=type=cache,target=/root/.local/ \
|
||||
--mount=type=cache,target=/root/.solc-select \
|
||||
solc-select install 0.8.16
|
||||
RUN --mount=type=cache,target=/root/.cache/ \
|
||||
--mount=type=cache,target=/root/.local/ \
|
||||
--mount=type=cache,target=/root/.solc-select \
|
||||
solc-select use 0.8.16
|
||||
|
||||
# Mount cargo and serai cache for Cache & Build
|
||||
RUN --mount=type=cache,target=/usr/local/cargo/git \
|
||||
RUN --mount=type=cache,target=/root/.local/ \
|
||||
--mount=type=cache,target=/root/.solc-select \
|
||||
--mount=type=cache,target=/root/.cache/ \
|
||||
--mount=type=cache,target=/usr/local/cargo/git \
|
||||
--mount=type=cache,target=/usr/local/cargo/registry \
|
||||
--mount=type=cache,target=/serai/target/release/build \
|
||||
--mount=type=cache,target=/serai/target/release/deps \
|
||||
|
|
Loading…
Reference in a new issue