Skip to content

Commit

Permalink
vagrantfile: add support for docker provider
Browse files Browse the repository at this point in the history
Signed-off-by: Mikhail Ushanov <[email protected]>
  • Loading branch information
gmmephisto committed Oct 31, 2018
1 parent 62d6cac commit d75bab9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ def configureProviders(vmCfg, cpus: "2", memory: "2048")
end
end

vmCfg.vm.provider "docker" do |d, override|
d.build_dir = "."
d.has_ssh = true
override.vm.box = nil
end

return vmCfg
end

Expand Down

0 comments on commit d75bab9

Please sign in to comment.