X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fconsolidation%2Frobo%2Fsrc%2FTask%2FDocker%2FPull.php;fp=vendor%2Fconsolidation%2Frobo%2Fsrc%2FTask%2FDocker%2FPull.php;h=32ba5b40f83db567bbc9b71329376f1a4a2b2f6f;hp=0000000000000000000000000000000000000000;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/vendor/consolidation/robo/src/Task/Docker/Pull.php b/vendor/consolidation/robo/src/Task/Docker/Pull.php new file mode 100644 index 000000000..32ba5b40f --- /dev/null +++ b/vendor/consolidation/robo/src/Task/Docker/Pull.php @@ -0,0 +1,33 @@ +taskDockerPull('wordpress') + * ->run(); + * + * ?> + * ``` + * + */ +class Pull extends Base +{ + /** + * @param string $image + */ + public function __construct($image) + { + $this->command = "docker pull $image "; + } + + /** + * {@inheritdoc} + */ + public function getCommand() + { + return $this->command . ' ' . $this->arguments; + } +}