Created
September 25, 2020 20:08
-
-
Save jbn/e1346d02f94fc8357eaa69ef1ee9caa5 to your computer and use it in GitHub Desktop.
Revisions
-
jbn created this gist
Sep 25, 2020 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,22 @@ FROM golang:1.14.9-stretch # See: https://docs.akash.network/validator-guides/gentxo RUN cd $GOPATH/src && mkdir -p github.com/ovrclk && \ cd github.com/ovrclk && \ git clone https://github.com/ovrclk/akash.git && \ cd akash && \ MAINNET=true git checkout v0.8.1 && \ make deps-install && \ make install # https://docs.akash.network/validator-guides/join-the-testnet#setting-up-a-new-node ARG MONIKER # Using 0.8.1 and 0.8.2 gives, # ERROR: error validating genesis file /root/.akashd/config/genesis.json: failed to unmarshal auth # genesis state: cannot parse disfix JSON wrapper: json: cannot unmarshal string into Go value # of type amino.disfixWrapper RUN akashd init $MONIKER && \ sed -i 's/minimum-gas-prices = ""/minimum-gas-prices = "0.025uakt"/' ~/.akashd/config/app.toml && \ curl -s https://raw.githubusercontent.com/ovrclk/net/master/latest/genesis.json > $HOME/.akashd/config/genesis.json && \ akashd validate-genesis