Skip to content

Commit

Permalink
fix dockerfile to fetch the submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
wuminzhe committed Sep 28, 2023
1 parent c75f391 commit c378a87
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ RUN apt update && apt install -y curl protobuf-compiler clang
RUN curl -L https://foundry.paradigm.xyz | bash
RUN . /root/.bashrc && foundryup

# darwinia node
# darwinia dev node for apk-verifier
RUN git clone https://github.com/darwinia-network/darwinia.git --branch apk-verifier --depth 1
RUN cd darwinia && \
cargo build --release -p darwinia --features pangolin-native && \
cp ./target/release/darwinia ./../bin/ && \
cd .. && rm -rf darwinia

RUN git submodule update --init --recursive

ENTRYPOINT ["/bin/bash", "-c"]

0 comments on commit c378a87

Please sign in to comment.