Install Go in the beacon_node docker image before compiling the LibP2P deamon
This commit is contained in:
parent
03e6aadeb1
commit
8241320171
|
@ -1,13 +1,22 @@
|
|||
FROM statusteam/nim-base AS build
|
||||
|
||||
RUN apt update \
|
||||
&& apt install -y build-essential make \
|
||||
&& apt install -y build-essential make wget \
|
||||
&& apt clean \
|
||||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
||||
RUN export GO_TAR_GZ=go1.12.6.linux-amd64.tar.gz \
|
||||
&& cd /tmp/ \
|
||||
&& wget https://dl.google.com/go/$GO_TAR_GZ \
|
||||
&& tar -xvf $GO_TAR_GZ \
|
||||
&& mv go /usr/local \
|
||||
&& rm $GO_TAR_GZ
|
||||
|
||||
ARG GIT_REVISION
|
||||
|
||||
RUN git clone https://github.com/status-im/nimbus.git \
|
||||
RUN export GOROOT=/usr/local/go \
|
||||
&& export PATH=$GOROOT/bin:$PATH \
|
||||
&& git clone https://github.com/status-im/nimbus.git \
|
||||
&& cd nimbus \
|
||||
&& git reset --hard ${GIT_REVISION} \
|
||||
&& make update deps vendor/go/bin/p2pd nat-libs \
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 33a2dc3fc2c195f314f577b9a4d2df383793f5b2
|
||||
Subproject commit 85f3480f90d46c3352329eb3acb135e36c5f4fbf
|
|
@ -1 +1 @@
|
|||
Subproject commit 07a273266a9f94c9b9b01853e3fc0d30257f2b74
|
||||
Subproject commit 8ef04ea0f224290c8cce278f1160ce8d5de09e98
|
Loading…
Reference in New Issue