Sha256: 55081913bd53f1277827be9bca348b9cbcebaab3d6c341c0d260a46f9bf7f30f

Contents?: true

Size: 541 Bytes

Versions: 22

Compression:

Stored size: 541 Bytes

Contents

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), 'lib'))

require 'rake'
require 'docker'
require 'rspec/core/rake_task'
require 'cane/rake_task'

task :default => [:spec, :quality]

RSpec::Core::RakeTask.new do |t|
  t.pattern = 'spec/**/*_spec.rb'
end

Cane::RakeTask.new(:quality) do |cane|
  cane.canefile = '.cane'
end

desc 'Pull an Ubuntu image'
image 'ubuntu:13.10' do
  puts "Pulling ubuntu:13.10"
  image = Docker::Image.create('fromImage' => 'ubuntu', 'tag' => '13.10')
  puts "Pulled ubuntu:13.10, image id: #{image.id}"
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
docker-api-1.15.0 Rakefile
docker-api-1.14.0 Rakefile
docker-api-1.13.7 Rakefile
docker-api-1.13.6 Rakefile
docker-api-1.13.5 Rakefile
docker-api-1.13.4 Rakefile
docker-api-1.13.3 Rakefile
docker-api-1.13.2 Rakefile
docker-api-1.13.1 Rakefile
docker-api-1.13.0 Rakefile
docker-api-1.12.0 Rakefile
docker-api-1.11.2 Rakefile
docker-api-1.11.1 Rakefile
docker-api-1.11.0 Rakefile
docker-api-1.10.11 Rakefile
docker-api-1.10.10 Rakefile
docker-api-1.10.9 Rakefile
docker-api-1.10.8 Rakefile
docker-api-1.10.7 Rakefile
docker-api-1.10.6 Rakefile