diff --git a/Dockerfile b/Dockerfile old mode 100644 new mode 100755 index 59713cc..88abce3 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM cita/cita-run:ubuntu-18.04-20181009 +FROM cita/cita-run:ubuntu-18.04-20191128 MAINTAINER jiangxianliang88@gmail.com ARG CITA_TAR=cita_secp256k1_sha3.tar.gz @@ -14,7 +14,7 @@ RUN curl -u ${JUSER}:${PASSWORD} -O ${CITA_TAR} \ && cd ${CITA_DIR} COPY ./docker-entrypoint.sh ./${CITA_DIR} -ADD https://cdn.cryptape.com/cita-cli /usr/bin/ +ADD https://cdn.citahub.com/cita-cli197 /usr/bin/cita-cli WORKDIR /root/cita/${CITA_DIR} RUN chmod +x ./docker-entrypoint.sh \ diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh old mode 100644 new mode 100755 index 12a39a7..1393192 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -2,13 +2,13 @@ echo "start run cita" ./scripts/create_cita_config.py create --nodes "127.0.0.1:4000,127.0.0.1:4001,127.0.0.1:4002,127.0.0.1:4003" --super_admin 0x4b5ae4567ad5d9fb92bc9afd6a657e6fa13a2523 --contract_arguments "SysConfig.economicalModel=1" -./bin/cita setup test-chain/0 -./bin/cita setup test-chain/1 -./bin/cita setup test-chain/2 -./bin/cita setup test-chain/3 -nohup ./bin/cita start test-chain/0 & -nohup ./bin/cita start test-chain/1 & -nohup ./bin/cita start test-chain/2 & -nohup ./bin/cita start test-chain/3 & +./bin/cita bebop setup test-chain/0 +./bin/cita bebop setup test-chain/1 +./bin/cita bebop setup test-chain/2 +./bin/cita bebop setup test-chain/3 +nohup ./bin/cita bebop start test-chain/0 & +nohup ./bin/cita bebop start test-chain/1 & +nohup ./bin/cita bebop start test-chain/2 & +nohup ./bin/cita bebop start test-chain/3 & /bin/bash -c "while true;do sleep 100;done"