From a6ec833c38f8fb8b6a3919c012162bb6075aca1d Mon Sep 17 00:00:00 2001 From: "Michael Bradley, Jr" Date: Tue, 24 Jul 2018 15:38:47 -0500 Subject: [PATCH] env override for extra run opts --- run.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/run.sh b/run.sh index a6ac2c3..cfd5d4c 100755 --- a/run.sh +++ b/run.sh @@ -65,6 +65,7 @@ run_embark_docker () { local EMBARK_DOCKER_MOUNT_SOURCE=${EMBARK_DOCKER_MOUNT_DIR:-$PWD} local EMBARK_DOCKER_MOUNT_TARGET=${EMBARK_DOCKER_MOUNT_DIR:-/dapp} 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} docker run \ @@ -81,6 +82,7 @@ run_embark_docker () { -p 30303:30303 \ -v ${EMBARK_DOCKER_MOUNT_SOURCE}:${EMBARK_DOCKER_MOUNT_TARGET} \ -e "TERM=${TERM}" \ + "${EMBARK_DOCKER_EXTRA_RUN_OPTS}" \ ${EMBARK_DOCKER_IMAGE}:${EMBARK_DOCKER_TAG} \ "$@"