From dc86fce431ce03b0368579b061015fb2c00f1ed3 Mon Sep 17 00:00:00 2001 From: Petr Kozhevnikov Date: Thu, 17 Mar 2022 18:32:04 +0300 Subject: [PATCH] Fix 1.8 --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index b9258e2..b934b5a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,13 +9,13 @@ RUN mkdir -p mainnet/data mainnet/config testnet/data testnet/config && \ wget https://github.com/binance-chain/bsc/releases/download/${VERSION}/mainnet.zip && \ wget https://github.com/binance-chain/bsc/releases/download/${VERSION}/testnet.zip && \ unzip mainnet.zip -d mainnet/config && unzip testnet.zip -d testnet/config && rm -rf mainnet.zip testnet.zip bsc -RUN /build/geth --datadir mainnet/data init mainnet/mainnet/config/genesis.json +RUN /build/geth --datadir mainnet/data init mainnet/config/mainnet/genesis.json RUN /build/geth --datadir testnet/data init testnet/config/genesis.json RUN sed '/\[Node.LogConfig\]/d;/File[Root|Path]/d;/MaxBytesSize/d;/Level/d;/DataDir/d;/NoUSB/d;/IPCPath/d;/HTTPHost/d;/HTTPVirtualHosts/d;/InsecureUnlockAllowed/d;/HTTPPort/d;/HTTPModules/d;/WSPort/d;/WSModules/d;/\[Node\]/d;s/PriceLimit = 1000000000/PriceLimit = 2000000000/;s/GasPrice = 1000000000/GasPrice = 2000000000/' testnet/config/config.toml > testnet/config/config-pure.toml && \ - sed '/\[Node.LogConfig\]/d;/File[Root|Path]/d;/MaxBytesSize/d;/Level/d;/DataDir/d;/NoUSB/d;/IPCPath/d;/HTTPHost/d;/HTTPVirtualHosts/d;/InsecureUnlockAllowed/d;/HTTPPort/d;/HTTPModules/d;/WSPort/d;/WSModules/d;/\[Node\]/d;s/PriceLimit = 1000000000/PriceLimit = 5000000000/;s/GasPrice = 1000000000/GasPrice = 5000000000/' mainnet/config/config.toml > mainnet/config/config-pure.toml + sed '/\[Node.LogConfig\]/d;/File[Root|Path]/d;/MaxBytesSize/d;/Level/d;/DataDir/d;/NoUSB/d;/IPCPath/d;/HTTPHost/d;/HTTPVirtualHosts/d;/InsecureUnlockAllowed/d;/HTTPPort/d;/HTTPModules/d;/WSPort/d;/WSModules/d;/\[Node\]/d;s/PriceLimit = 1000000000/PriceLimit = 5000000000/;s/GasPrice = 1000000000/GasPrice = 5000000000/' mainnet/config/mainnet/config.toml > mainnet/config/mainnet/config-pure.toml RUN cat testnet/config/config-pure.toml -RUN cat mainnet/config/config-pure.toml +RUN cat mainnet/config/mainnet/config-pure.toml FROM alpine:latest WORKDIR /usr/share/bsc