Sha256: d918439ca004c7c5c44ab4263cec128b5bee34457bf0149ad4b1914fbc4e507e
Contents?: true
Size: 262 Bytes
Versions: 1
Compression:
Stored size: 262 Bytes
Contents
# frozen_string_literal: true namespace :docker do desc 'Build docker image' task :build, %i[image tag] do |_, args| args.with_defaults(image: Pathname(Dir.pwd).basename, tag: 'latest') sh "docker build -t #{args[:image]}:#{args[:tag]} ." end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
development-toolbox-0.8.0 | rakelib/docker.rake |