ctfcli icon indicating copy to clipboard operation
ctfcli copied to clipboard

Add optional args to ssh deployment for `docker run` arguments

Open pl4nty opened this issue 2 years ago • 2 comments

In my case, this allowed adding Linux capabilities to run nsjail for TCP-based pwn chals.

pl4nty avatar Mar 06 '23 09:03 pl4nty

So I thought about this for awhile and I think this is possibly going in the wrong direction. Ideally everything needed to deploy a challenge should be in challenge.yml. I realize that currently sometimes that's not the case but I think it's the goal to strive for. Perhaps it makes sense to put deploy args somewhere in challenge.yml?

ColdHeat avatar Mar 14 '23 22:03 ColdHeat

@ColdHeat that makes sense, I've swapped it for deploy_args in challenge.yml and updated the example. Currently only supports SSH deployments (docker run [deploy_args]), but this design could allow args for registry/cloud deployments if that's needed in future.

pl4nty avatar Mar 15 '23 21:03 pl4nty