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:
parent
0c84ad4bc6
commit
c551258018
|
@ -76,6 +76,7 @@ sudo docker run --rm `# delete (temporary) image after return` \\
|
||||||
--cap-add=SYS_PTRACE \\
|
--cap-add=SYS_PTRACE \\
|
||||||
--security-opt seccomp=unconfined \\
|
--security-opt seccomp=unconfined \\
|
||||||
-v "${HOME}:${HOME}" `# Mount home directory` \\
|
-v "${HOME}:${HOME}" `# Mount home directory` \\
|
||||||
|
-w="\$(pwd)" \\
|
||||||
\${ccache_args} \\
|
\${ccache_args} \\
|
||||||
${image} "\$@"
|
${image} "\$@"
|
||||||
EOF
|
EOF
|
||||||
|
|
Loading…
Reference in New Issue