@@ -11,35 +11,40 @@ RUN mkdir -p $DATA_ROOT && \
1111
1212RUN apk add --no-cache bash
1313
14- # Installing eth-net-intelligence-api depencencies and bash
15- RUN apk add --update git bash nodejs nodejs-npm perl
14+ # TODO: uncomment if we'll use local monitors instead of external ones
15+ # # Installing eth-net-intelligence-api depencencies and bash
16+ # RUN apk add --update git bash nodejs nodejs-npm perl
1617
17- # Installing eth-net-intelligence client
18- RUN cd /root &&\
19- git clone https://github.com/cubedro/eth-net-intelligence-api &&\
20- cd eth-net-intelligence-api &&\
21- npm install &&\
22- npm install -g pm2
18+ # # Installing eth-net-intelligence client
19+ # RUN cd /root &&\
20+ # git clone https://github.com/cubedro/eth-net-intelligence-api &&\
21+ # cd eth-net-intelligence-api &&\
22+ # npm install &&\
23+ # npm install -g pm2
2324
2425# Setting GOlang paths
2526ENV GOPATH /go
2627ENV PATH "$PATH:/go/bin"
28+ # ENV ETHERMINT_VERSION develop
29+ # ENV ETHERMINT_VERSION master
30+ ENV ETHERMINT_VERSION v0.5.4
2731
2832# Installing Ethermint from source
2933RUN mkdir -p /go/src/github.com/tendermint/ethermint && \
3034 apk add --no-cache go build-base git linux-headers && \
3135 cd /go/src/github.com/tendermint/ethermint && \
3236 git clone https://github.com/tendermint/ethermint . && \
33- git checkout develop && \
37+ git checkout ${ETHERMINT_VERSION} && \
3438 make get_vendor_deps && \
3539 make install && \
3640 glide cc && \
3741 cd - && \
3842 rm -rf /go/src/github.com/tendermint/ethermint && \
3943 apk del go build-base git
4044
41- # Putting eth-net-intelligence client configuration into container
42- ADD app.json /root/eth-net-intelligence-api/app.json
45+ # TODO: uncomment if we'll use local monitors instead of external ones
46+ # # Putting eth-net-intelligence client configuration into container
47+ # ADD app.json /root/eth-net-intelligence-api/app.json
4348
4449VOLUME $DATA_ROOT
4550
0 commit comments