diff --git a/packages/caliper-samples/network/ethereum/1node-clique/Dockerfile b/packages/caliper-samples/network/ethereum/1node-clique/Dockerfile index 7be329afe3..b7bfb99eda 100644 --- a/packages/caliper-samples/network/ethereum/1node-clique/Dockerfile +++ b/packages/caliper-samples/network/ethereum/1node-clique/Dockerfile @@ -13,5 +13,5 @@ FROM ethereum/client-go:stable COPY ./data/ /root/ VOLUME [ "/root/.ethereum/keystore/" ] -RUN geth init /root/genesis.json && geth import /root/bc.dat +RUN geth --nousb init /root/genesis.json && geth --nousb import /root/bc.dat ENTRYPOINT [ "geth" ] \ No newline at end of file diff --git a/packages/caliper-samples/network/ethereum/1node-clique/docker-compose.yml b/packages/caliper-samples/network/ethereum/1node-clique/docker-compose.yml index 8d9f037b4b..f17cdaab54 100644 --- a/packages/caliper-samples/network/ethereum/1node-clique/docker-compose.yml +++ b/packages/caliper-samples/network/ethereum/1node-clique/docker-compose.yml @@ -22,4 +22,4 @@ services: - ./keys:/root/.ethereum/keystore ports: - 8545:8545 - command: --unlock 0xc0A8e4D217eB85b812aeb1226fAb6F588943C2C2 --password /root/.ethereum/keystore/password --mine --minerthreads 2 --etherbase 0xc0A8e4D217eB85b812aeb1226fAb6F588943C2C2 --rpc --rpcaddr 0.0.0.0 --rpcvhosts=* --rpcapi admin,eth,miner,personal,web3 --nodiscover --gasprice 1 \ No newline at end of file + command: --unlock 0xc0A8e4D217eB85b812aeb1226fAb6F588943C2C2 --password /root/.ethereum/keystore/password --mine --minerthreads 2 --etherbase 0xc0A8e4D217eB85b812aeb1226fAb6F588943C2C2 --rpc --rpcaddr 0.0.0.0 --rpcvhosts=* --rpcapi admin,eth,miner,personal,web3 --allow-insecure-unlock --nodiscover --gasprice 1 \ No newline at end of file diff --git a/packages/caliper-samples/network/ethereum/1node/Dockerfile b/packages/caliper-samples/network/ethereum/1node/Dockerfile index b8b3bd6381..a48ac8acc8 100644 --- a/packages/caliper-samples/network/ethereum/1node/Dockerfile +++ b/packages/caliper-samples/network/ethereum/1node/Dockerfile @@ -13,5 +13,5 @@ FROM ethereum/client-go:stable COPY ./data/ /root/ VOLUME [ "/root/.ethereum/keystore/" ] -RUN geth init /root/genesis.json && geth import /root/bc.dat && geth makedag 0 /root/.ethash && geth makedag 30000 /root/.ethash +RUN geth --nousb init /root/genesis.json && geth --nousb import /root/bc.dat && geth --nousb makedag 0 /root/.ethash && geth --nousb makedag 30000 /root/.ethash ENTRYPOINT [ "geth" ] \ No newline at end of file diff --git a/packages/caliper-samples/network/ethereum/1node/docker-compose.yml b/packages/caliper-samples/network/ethereum/1node/docker-compose.yml index 5f38111fe8..501f9a82bb 100644 --- a/packages/caliper-samples/network/ethereum/1node/docker-compose.yml +++ b/packages/caliper-samples/network/ethereum/1node/docker-compose.yml @@ -22,4 +22,4 @@ services: - ./keys:/root/.ethereum/keystore ports: - 8545:8545 - command: --unlock 0xc0A8e4D217eB85b812aeb1226fAb6F588943C2C2 --password /root/.ethereum/keystore/password --mine --minerthreads 2 --etherbase 0xc0A8e4D217eB85b812aeb1226fAb6F588943C2C2 --rpc --rpcaddr 0.0.0.0 --rpcvhosts=* --rpcapi admin,eth,miner,personal,web3 --nodiscover --gasprice 1 \ No newline at end of file + command: --unlock 0xc0A8e4D217eB85b812aeb1226fAb6F588943C2C2 --password /root/.ethereum/keystore/password --mine --minerthreads 2 --etherbase 0xc0A8e4D217eB85b812aeb1226fAb6F588943C2C2 --rpc --rpcaddr 0.0.0.0 --rpcvhosts=* --rpcapi admin,eth,miner,personal,web3 --allow-insecure-unlock --nodiscover --gasprice 1 \ No newline at end of file