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 f187c7d commit c4ff732Copy full SHA for c4ff732
src/main/php/xp/lambda/Docker.class.php
@@ -1,7 +1,7 @@
1
<?php namespace xp\lambda;
2
3
use io\Path;
4
-use lang\{Process, CommandLine};
+use lang\CommandLine;
5
6
trait Docker {
7
private $command= null;
@@ -49,7 +49,7 @@ private function resolve($commands) {
49
50
/** Returns docker runtime */
51
private function command() {
52
- return $this->command ?? $this->command= CommandLine::forName(PHP_OS)->compose($this->resolve(['docker', 'podman']), []);
+ return $this->command ?? $this->command= CommandLine::forName(PHP_OS)->compose($this->resolve(['docker', 'podman']));
53
}
54
55
/** Returns a given docker image, building it if necessary */
0 commit comments