forked from lino-network/lino
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade3 genesis and Dockerfile. (lino-network#409)
* add docker file * reset first to clean up genesis cache * no longer use patches * update ubuntu bootstrap script go version * upgrade go version * update genesis * typo
- Loading branch information
Showing
19 changed files
with
48 additions
and
736 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
FROM golang:1.12 | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y make tar sudo wget curl | ||
|
||
RUN mkdir -p src/github.com/lino-network/lino | ||
WORKDIR src/github.com/lino-network/lino | ||
|
||
COPY . . | ||
RUN make get_tools | ||
RUN make install | ||
|
||
RUN lino init | ||
COPY genesis/upgrade3/config.toml /root/.lino/config/config.toml | ||
COPY genesis/upgrade3/genesis.json /root/.lino/config/genesis.json | ||
RUN cd /root/.lino && wget https://lino-blockchain-opendata.s3.amazonaws.com/prd/prevstates.tar.gz | ||
RUN cd /root/.lino && tar -xf prevstates.tar.gz | ||
|
||
# prometheus if enabled | ||
EXPOSE 26660 | ||
# p2p | ||
EXPOSE 26656 | ||
# tendermint rpc | ||
EXPOSE 26657 | ||
# abci app | ||
EXPOSE 26658 | ||
|
||
CMD ["lino", "unsafe-reset-all"] | ||
CMD ["lino", "start"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.