Sha256: 2bca072677d6f6baaa0e8a68a02fcce0059a1ed6284e5a47e513cd00e987997c

Contents?: true

Size: 704 Bytes

Versions: 41

Compression:

Stored size: 704 Bytes

Contents

namespace :docker do
  desc "updates build images for swagger and golang will overwrite existing images"
  task :update_images do
    config = Minke::Config::Reader.new.read './config.yml'

    puts "## Updating Docker images"
    runner = Minke::Docker::DockerRunner.new
  	runner.pull_image config.docker.build_image

    puts ""
  end

  desc "pull images for golang from Docker registry if not already downloaded"
  task :fetch_images do
    config = Minke::Config::Reader.new.read './config.yml'

    puts "## Pulling Docker images"
    runner = Minke::Docker::DockerRunner.new
  	runner.pull_image config.docker.build_image unless runner.find_image config.docker.build_image

    puts ""
  end
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
minke-1.11.0 lib/minke/rake/docker.rake
minke-1.10.0 lib/minke/rake/docker.rake
minke-1.9.9 lib/minke/rake/docker.rake
minke-1.9.8 lib/minke/rake/docker.rake
minke-1.9.7 lib/minke/rake/docker.rake
minke-1.9.6 lib/minke/rake/docker.rake
minke-1.9.5 lib/minke/rake/docker.rake
minke-1.9.4 lib/minke/rake/docker.rake
minke-1.9.3 lib/minke/rake/docker.rake
minke-1.9.2 lib/minke/rake/docker.rake
minke-1.9.1 lib/minke/rake/docker.rake
minke-1.9.0 lib/minke/rake/docker.rake
minke-1.8.3 lib/minke/rake/docker.rake
minke-1.8.2 lib/minke/rake/docker.rake
minke-1.8.1 lib/minke/rake/docker.rake
minke-1.8.0 lib/minke/rake/docker.rake
minke-1.6.1 lib/minke/rake/docker.rake
minke-1.6.0 lib/minke/rake/docker.rake
minke-1.5.9 lib/minke/rake/docker.rake
minke-1.5.8 lib/minke/rake/docker.rake