lib/baleen/runner.rb in baleen-0.2.3 vs lib/baleen/runner.rb in baleen-0.2.4

- old
+ new

@@ -42,10 +42,10 @@ extend Forwardable def_delegator :@connection, :notify_info def initialize(task, connection=nil) - @container = Docker::Container.create('Cmd' => [task.shell, task.opt, task.commands], 'Image' => task.image) + @container = Docker::Container.create('Cmd' => ["bash", "-c", task.commands], 'Image' => task.image) @connection = connection ? connection : Connection.new @task = task end def run \ No newline at end of file