drone/drone — pull request #773 by husobee (2014-12-26 19:14:20+00:00)
Title: Allowing Binds Volumes to be Specified from .drone.yml

On occasion, I have found the need to create a volume in the build container to the container host. This is different from cache in that this use-case doesn't involve persisting between builds, but rather just having access to something on the host file system in the build container. Primary use case i have found is to be able to build docker by docker using a file socket.

I suppose if there was a security concern, we could add a configuration option to explicitly state which volumes were allowable volumes to bind.