Skip to content

Commit

Permalink
update cita docker image and cita cli for release v1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
QingYanL committed Jan 6, 2020
1 parent b451f51 commit 3710ae3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM cita/cita-run:ubuntu-18.04-20181009
FROM cita/cita-run:ubuntu-18.04-20191128
MAINTAINER [email protected]

ARG CITA_TAR=cita_secp256k1_sha3.tar.gz
Expand All @@ -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 \
Expand Down
16 changes: 8 additions & 8 deletions docker-entrypoint.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 3710ae3

Please sign in to comment.