vagrantfile: add support for docker provider
Signed-off-by: Mikhail Ushanov <gm.mephisto@gmail.com>
This commit is contained in:
parent
62d6cace47
commit
d75bab9523
|
@ -73,6 +73,12 @@ def configureProviders(vmCfg, cpus: "2", memory: "2048")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
vmCfg.vm.provider "docker" do |d, override|
|
||||||
|
d.build_dir = "."
|
||||||
|
d.has_ssh = true
|
||||||
|
override.vm.box = nil
|
||||||
|
end
|
||||||
|
|
||||||
return vmCfg
|
return vmCfg
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue