mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
@@ -18,12 +18,24 @@ WORKDIR /serai
|
|||||||
RUN rustup update
|
RUN rustup update
|
||||||
|
|
||||||
# Install Solc @ 0.8.16
|
# Install Solc @ 0.8.16
|
||||||
RUN pip3 install solc-select==0.2.1
|
RUN --mount=type=cache,target=/root/.cache/ \
|
||||||
RUN solc-select install 0.8.16
|
--mount=type=cache,target=/root/.local/ \
|
||||||
RUN solc-select use 0.8.16
|
--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
|
# 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=/usr/local/cargo/registry \
|
||||||
--mount=type=cache,target=/serai/target/release/build \
|
--mount=type=cache,target=/serai/target/release/build \
|
||||||
--mount=type=cache,target=/serai/target/release/deps \
|
--mount=type=cache,target=/serai/target/release/deps \
|
||||||
|
|||||||
Reference in New Issue
Block a user