1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/builder
Tianon Gravi 05c2d2db9a Adjust builder to validate that JSON in Dockerfiles are arrays of strings and nothing else to match how we describe them to people (and what all our existing tests already assumed)
This also adds more tests to help verify this, including unicode and nonprintable characters (hence the earlier commit switching to strconv.Quote).

As a bonus, this fixes a subtle bug where [] was turned into [""] and then turned back into [] (and thus [""] was impossible to actually round-trip correctly in a Dockerfile).

Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
2015-01-05 14:31:05 -07:00
..
parser Adjust builder to validate that JSON in Dockerfiles are arrays of strings and nothing else to match how we describe them to people (and what all our existing tests already assumed) 2015-01-05 14:31:05 -07:00
dispatchers.go Make FROM scratch a special cased 'no-base' spec 2014-12-18 14:03:38 -08:00
evaluator.go Make FROM scratch a special cased 'no-base' spec 2014-12-18 14:03:38 -08:00
internals.go Make FROM scratch a special cased 'no-base' spec 2014-12-18 14:03:38 -08:00
job.go Update code for use of urlutil pkg 2014-11-24 18:47:42 -05:00
MAINTAINERS Add a new MAINTAINERS file for the builder. 2014-09-17 15:36:04 -07:00
support.go builder: handle escapes without swallowing all of them. 2014-10-27 17:38:24 +00:00