Add tezos-signer to Docker image.

This commit is contained in:
James Edwards 2018-07-06 21:16:07 -05:00 committed by Grégoire Henry
parent 75448c6767
commit d3589324f5
2 changed files with 7 additions and 1 deletions

View File

@ -28,7 +28,8 @@ mkdir -p "$tmp_dir"/bin
mkdir -p "$tmp_dir"/scripts
container=$(docker create $build_image)
for bin in tezos-client tezos-admin-client tezos-node \
tezos-alpha-baker tezos-alpha-endorser tezos-alpha-accuser; do
tezos-alpha-baker tezos-alpha-endorser tezos-alpha-accuser \
tezos-signer; do
docker cp -L $container:/home/tezos/tezos/$bin "$tmp_dir"/bin
done
cp -a "$script_dir"/docker/entrypoint.sh "$tmp_dir"/bin/

View File

@ -15,6 +15,7 @@ admin_client="/usr/local/bin/tezos-admin-client"
baker="/usr/local/bin/tezos-alpha-baker"
endorser="/usr/local/bin/tezos-alpha-endorser"
accuser="/usr/local/bin/tezos-alpha-accuser"
signer="/usr/local/bin/tezos-signer"
client_dir="$DATA_DIR/client"
node_dir="$DATA_DIR/node"
@ -46,6 +47,9 @@ case $command in
configure_client
exec "$admin_client" "$@"
;;
tezos-signer)
exec "$signer" "$@"
;;
*)
cat <<EOF
Available commands:
@ -53,6 +57,7 @@ Available commands:
- tezos-client [args]
- tezos-baker [keys]
- tezos-endorser [keys]
- tezos-signer [args]
EOF
;;
esac