Skip to content

Commit

Permalink
fix: Delete container after run when using script execution context d…
Browse files Browse the repository at this point in the history
…ocker-compose-run
  • Loading branch information
stmh committed May 7, 2024
1 parent 2e1a52d commit 882df1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Method/ScriptExecutionContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ public function enter(ShellProviderInterface $shell): ShellProviderInterface
$shell->run($this->getDockerComposeCmd('build', '--quiet'), false, true);
$this->shell = $shell->startSubShell($this->getDockerComposeCmdAsArray(
'run',
'--rm',
$this->getArgument('service'),
$this->getArgument('shellExecutable', '/bin/sh')
));
Expand Down

0 comments on commit 882df1e

Please sign in to comment.