Commit graph

5 commits

Author SHA1 Message Date
John Barbuto b7b3bcb3ed Check if image is set with docker provider
If build_dir is set instead for building images on demand, there's no way to
know what to set the bucket name to, except perhaps parsing it from Dockerfile.
2014-07-24 23:25:36 -07:00
John Barbuto c7c47782cb Use image for bucket name with docker, if box is unset
This allows multiple machines using the image to share the cache
and avoids the following error:

    /Applications/Vagrant/embedded/lib/ruby/2.0.0/pathname.rb:389:in
    `initialize': no implicit conversion of nil into String (TypeError)
2014-07-22 22:54:19 -07:00
Fabio Rehm 5f4a7f1967 Make use of the Vagrantfile configured base box name instead of getting it from the Box object (which might be nil)
Closes GH-86
2014-07-20 20:34:14 -03:00
Fabio Rehm 8d6c7c62da Handle nil value for synced_folder_opts 2014-02-26 22:03:21 -03:00
Fabio Rehm aa793367b7 Extract cachier's root bucket directory creation out to a separate action [GH-60] 2014-02-26 22:03:21 -03:00