moby/builder
Doug Davis 8071bf3967 Check volume path to make sure its not the empty string
With this Dockerfile
```
FROM ubuntu
ENV ABC=""
VOLUME $ABC
```

It builds ok but then at run time I get this error:

FATA[0002] Error response from daemon: Cannot start container 8902b4a7aaf5c4e4b11a38070d392db465fa97ad88c91c8b38dda5ab8149ccac: [8] System error: no such file or directory

Because the Volume config shows "" as the path.  This PR checks for "" as
the path and stops it at build time.

Signed-off-by: Doug Davis <dug@us.ibm.com>
2015-03-20 21:39:49 -07:00
..
command Some fixed for new LABEL stuff 2015-03-16 22:53:41 -07:00
parser Some fixed for new LABEL stuff 2015-03-16 22:53:41 -07:00
dispatchers.go Check volume path to make sure its not the empty string 2015-03-20 21:39:49 -07:00
evaluator.go Allow setting resource constrains for build 2015-03-18 20:57:13 -04:00
internals.go Allow setting resource constrains for build 2015-03-18 20:57:13 -04:00
job.go Allow setting resource constrains for build 2015-03-18 20:57:13 -04:00
support.go builder: handle escapes without swallowing all of them. 2014-10-27 17:38:24 +00:00