website/docs: note docker behavior in file provisioner

This commit is contained in:
Matthew Hooker 2017-03-09 16:30:51 -08:00
parent 9de7e65b73
commit e63a646afe
No known key found for this signature in database
GPG Key ID: 7B5F933D9CE8C6A1

View File

@ -54,7 +54,9 @@ know.
First, the destination directory must already exist. If you need to create it,
use a shell provisioner just prior to the file provisioner in order to create
the directory.
the directory. Note that the `docker` builder does not have this requirement.
It will create any needed destination directories, but it's generally best
practice to not rely on this behavior.
Next, the existence of a trailing slash on the source path will determine
whether the directory name will be embedded within the destination, or whether