Skip to content

Commit

Permalink
Merge pull request #357 from esune/master
Browse files Browse the repository at this point in the history
Tweaks to run_docker script for windows bash compatibility
  • Loading branch information
andrewwhitehead authored Feb 6, 2020
2 parents 1291e0a + 3c73edc commit 500b678
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@
*.conf text eol=lf
**/bin/* text eol=lf
scripts/* text eol=lf
demo/run_demo text eol=lf
2 changes: 1 addition & 1 deletion demo/run_demo
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,6 @@ DOCKER=${DOCKER:-docker}
echo "Starting $AGENT..."
$DOCKER run --name $AGENT --rm -it \
-p 0.0.0.0:$AGENT_PORT_RANGE:$AGENT_PORT_RANGE \
-v `pwd`/../logs:/home/indy/logs \
-v "/$(pwd)/../logs:/home/indy/logs" \
$DOCKER_ENV \
faber-alice-demo $AGENT_MODULE --port $AGENT_PORT $@
2 changes: 1 addition & 1 deletion scripts/run_docker
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if [ ! -z "${ENABLE_PTVSD}" ]; then
ARGS="${ARGS} -e ENABLE_PTVSD=\"${ENABLE_PTVSD}\" -p $PTVSD_PORT:$PTVSD_PORT"
fi

ARGS="${ARGS} -v `pwd`/../logs:/home/indy/logs"
ARGS="${ARGS} -v /$(pwd)/../logs:/home/indy/logs"

if [ ! -z "${WEBHOOK_URL}" ]; then
ARGS="${ARGS} -e WEBHOOK_URL=\"${WEBHOOK_URL}\""
Expand Down

0 comments on commit 500b678

Please sign in to comment.