Browse Source

Add option for extra docker args to tfb script (#7977)

Co-authored-by: Stephanie Crater <[email protected]>
Stephanie Crater 2 years ago
parent
commit
b1298b2c46
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tfb

+ 1 - 1
tfb

@@ -103,4 +103,4 @@ fi
 
 
 test -t 1 && USE_TTY="-t"
 test -t 1 && USE_TTY="-t"
 docker build -t techempower/tfb - < ${SCRIPT_ROOT}/Dockerfile
 docker build -t techempower/tfb - < ${SCRIPT_ROOT}/Dockerfile
-exec docker run -i ${USE_TTY} --rm --network tfb -v /var/run/docker.sock:/var/run/docker.sock -v ${SCRIPT_ROOT}:/FrameworkBenchmarks techempower/tfb "${@}"
+exec docker run -i ${USE_TTY} ${EXTRA_DOCKER_ARGS} --rm --network tfb -v /var/run/docker.sock:/var/run/docker.sock -v ${SCRIPT_ROOT}:/FrameworkBenchmarks techempower/tfb "${@}"