Skip to content

Commit

Permalink
Merge pull request mitre-cyber-academy#4 from rlee287/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
dtwalter authored Jan 27, 2023
2 parents 31f0efa + 52281ab commit 2ba7354
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ectf_tools/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ async def unlock(

ret = await run_shell(
"docker run"
" --rm"
" --add-host ectf-net:host-gateway"
f" -v {image}.{name}.tools.vol:/tools_out:ro"
" --workdir=/tools_out"
Expand Down Expand Up @@ -65,6 +66,7 @@ async def pair(

ret = await run_shell(
"docker run"
" --rm"
" --add-host ectf-net:host-gateway"
f" -v {image}.{name}.tools.vol:/tools_out:ro"
" --workdir=/tools_out"
Expand Down Expand Up @@ -97,6 +99,7 @@ async def package(

ret = await run_shell(
"docker run"
" --rm"
" --add-host ectf-net:host-gateway"
f" -v {image}.{name}.{deployment}.secrets.vol:/secrets"
f" -v {image}.{name}.tools.vol:/tools_out:ro"
Expand Down Expand Up @@ -131,6 +134,7 @@ async def enable(

ret = await run_shell(
"docker run"
" --rm"
" --add-host ectf-net:host-gateway"
f" -v {image}.{name}.tools.vol:/tools_out:ro"
" --workdir=/tools_out"
Expand Down

0 comments on commit 2ba7354

Please sign in to comment.