From c378a8722cb683939243c88ec256761b8291a8b9 Mon Sep 17 00:00:00 2001 From: Aki Wu Date: Thu, 28 Sep 2023 13:40:08 +0800 Subject: [PATCH] fix dockerfile to fetch the submodule --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0eced22..9203843 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"]