Package the LibP2P daemon inside the testnet docker images

This commit is contained in:
Zahary Karadjov 2019-06-12 18:49:40 +03:00
parent 688fbd2145
commit a5045bc269
5 changed files with 8 additions and 6 deletions

View File

@ -10,7 +10,8 @@ ARG GIT_REVISION
RUN git clone https://github.com/status-im/nimbus.git \
&& cd nimbus \
&& git reset --hard ${GIT_REVISION} \
&& make update deps nat-libs
&& make update deps vendor/go/bin/p2pd nat-libs \
&& cp vendor/go/bin/p2pd /usr/bin/p2pd
ARG NETWORK
ARG NETWORK_BACKEND
@ -41,7 +42,8 @@ RUN apt update \
&& apt clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
COPY --from=build /usr/bin/beacon_node /usr/bin/beacon_node
COPY --from=build /usr/bin/beacon_node /usr/bin/beacon_node
COPY --from=build /usr/bin/p2pd /usr/bin/p2pd
MAINTAINER Zahary Karadjov <zahary@status.im>
LABEL description="Nimbus installation that can act as an ETH2 network bootstrap node."

@ -1 +1 @@
Subproject commit 10c7920b274f61e70531a5318e1ea0e4f61e65f2
Subproject commit b1423c5b9abadab286c91c8d245d61427a78d941

2
vendor/nim-eth vendored

@ -1 +1 @@
Subproject commit ee27111e2b95dc1ec7b15c55b8cfaca958015f67
Subproject commit 9bb4913707b0ebabf795bdee954c2080802de999

2
vendor/nim-libp2p vendored

@ -1 +1 @@
Subproject commit d685147c52b189d5da22e00c48b7fb4ea8a22ea8
Subproject commit d84ed639320507aee79dd7295b2af7b8cdfd6cc6

@ -1 +1 @@
Subproject commit 58a313d8eb5750dc9b1c9f7f0bdebb08fb5023d3
Subproject commit 7fa381eb8d12a21bd1c7a1b99217b4cf8acacc46