provisioners/docker: fix wrong variable usage
caught by @pda
This commit is contained in:
parent
35a19f829c
commit
ead1382343
|
@ -11,7 +11,7 @@ module VagrantPlugins
|
||||||
@machine.communicate.tap do |comm|
|
@machine.communicate.tap do |comm|
|
||||||
images.each do |path, opts|
|
images.each do |path, opts|
|
||||||
@machine.ui.info(I18n.t("vagrant.docker_building_single", path: path))
|
@machine.ui.info(I18n.t("vagrant.docker_building_single", path: path))
|
||||||
comm.sudo("docker build #{image[:args]} #{path}")
|
comm.sudo("docker build #{opts[:args]} #{path}")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue