Rename folder cosm -> wasmd

This commit is contained in:
Simon Warta
2020-02-17 15:28:23 +01:00
parent 04ab04375e
commit 28f5cb643f
31 changed files with 0 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
#!/bin/bash
set -o errexit -o nounset -o pipefail
command -v shellcheck > /dev/null && shellcheck "$0"
SCRIPT_DIR="$(realpath "$(dirname "$0")")"
# shellcheck source=./env
# shellcheck disable=SC1091
source "$SCRIPT_DIR"/env
# TODO: make this run as UID? Does this matter?
HOME_DIR="/root"
docker run \
--rm \
-it \
--mount type=volume,source=wasmcli_data,target=/root/.wasmcli \
-w "$HOME_DIR" \
--env "HOME=$HOME_DIR" \
--net "container:$BLOCKCHAIN_CONTAINER_NAME" \
"$REPOSITORY:$VERSION" \
wasmcli "$@"