Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update cita docker images and cita cli for release 1.1.0 #7

Open
wants to merge 1 commit into
base: release
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 jiangxianliang88@gmail.com

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"