We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef4eb83 commit ab954c8Copy full SHA for ab954c8
tests/functional/Robo/Tasks/DockerCompose/Run.php
@@ -63,7 +63,7 @@ public function __construct($container)
63
public function getCommand()
64
{
65
return trim(sprintf(
66
- 'docker-compose run -w %s %s %s ' . $this->runWrapper,
+ 'docker-compose run --rm -w %s %s %s ' . $this->runWrapper,
67
escapeshellarg($this->workingDir),
68
$this->arguments,
69
escapeshellarg($this->container),
tests/functional/Robo/Tasks/EnvCleanUp.php
@@ -44,7 +44,7 @@ public function getCommand(): string
44
45
foreach ($this->volumes as $volume) {
46
$commands[] = sprintf(
47
- 'docker-compose run %s bash -c "mkdir -p %s"',
+ 'docker-compose run --rm %s bash -c "mkdir -p %s"',
48
Docker::BUILD_CONTAINER,
49
$volume
50
);
0 commit comments