pass working directory to `fdb-dev`

This allows a user to run commands without using the
docker shell (for example `fdb-dev ninja`)
This commit is contained in:
Markus Pilman 2020-04-23 10:16:45 -07:00
parent 0c84ad4bc6
commit c551258018
1 changed files with 1 additions and 0 deletions

View File

@ -76,6 +76,7 @@ sudo docker run --rm `# delete (temporary) image after return` \\
--cap-add=SYS_PTRACE \\
--security-opt seccomp=unconfined \\
-v "${HOME}:${HOME}" `# Mount home directory` \\
-w="\$(pwd)" \\
\${ccache_args} \\
${image} "\$@"
EOF