Class: Docker::ImageTask

Inherits:
Rake::Task
  • Object
show all
Defined in:
lib/docker/rake_task.rb

Overview

This class allows image-based tasks to be created.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.scope_name(_scope, task_name) ⇒ Object



3
4
5
# File 'lib/docker/rake_task.rb', line 3

def self.scope_name(_scope, task_name)
  task_name
end

Instance Method Details

#needed?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/docker/rake_task.rb', line 7

def needed?
  !has_repo_tag?
end