provide dummy extra run opts, in case none are provided on the cli
This commit is contained in:
parent
7098260ce5
commit
2a36bee823
3
run.sh
3
run.sh
|
@ -62,10 +62,11 @@ run_embark_docker () {
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
local dummy="-e __embark_docker_runsh"
|
||||||
local EMBARK_DOCKER_MOUNT_SOURCE=${EMBARK_DOCKER_MOUNT_DIR:-$PWD}
|
local EMBARK_DOCKER_MOUNT_SOURCE=${EMBARK_DOCKER_MOUNT_DIR:-$PWD}
|
||||||
local EMBARK_DOCKER_MOUNT_TARGET=${EMBARK_DOCKER_MOUNT_DIR:-/dapp}
|
local EMBARK_DOCKER_MOUNT_TARGET=${EMBARK_DOCKER_MOUNT_DIR:-/dapp}
|
||||||
|
local EMBARK_DOCKER_EXTRA_RUN_OPTS=${EMBARK_DOCKER_EXTRA_RUN_OPTS:-$dummy}
|
||||||
local EMBARK_DOCKER_IMAGE=${EMBARK_DOCKER_IMAGE:-statusim/embark}
|
local EMBARK_DOCKER_IMAGE=${EMBARK_DOCKER_IMAGE:-statusim/embark}
|
||||||
local EMBARK_DOCKER_EXTRA_RUN_OPTS=${EMBARK_DOCKER_EXTRA_RUN_OPTS:-""}
|
|
||||||
local EMBARK_DOCKER_TAG=${EMBARK_DOCKER_TAG:-latest}
|
local EMBARK_DOCKER_TAG=${EMBARK_DOCKER_TAG:-latest}
|
||||||
|
|
||||||
docker run \
|
docker run \
|
||||||
|
|
Loading…
Reference in New Issue