2 namespace Robo\Task\Docker;
9 * $this->taskDockerBuild()->run();
11 * $this->taskDockerBuild('path/to/dir')
20 * @package Robo\Task\Docker
22 class Build extends Base
32 public function __construct($path = '.')
34 $this->command = "docker build";
41 public function getCommand()
43 return $this->command . ' ' . $this->arguments . ' ' . $this->path;
51 public function tag($tag)
53 return $this->option('-t', $tag);