mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
678c80f925
This fix tries to address issues in #23221 where Dockerfile may consists of UTF-8 BOM. This likely happens when Notepad tries to save a file as UTF-8 in Windows. This fix skips the UTF-8 BOM bytes from the beginning of the Dockerfile if exists. Additional tests has been added to cover the changes in this fix. This fix fixes #23221. Signed-off-by: Yong Tang <yong.tang.github@outlook.com> |
||
---|---|---|
.. | ||
dumper | ||
testfile-line | ||
testfiles | ||
testfiles-negative | ||
json_test.go | ||
line_parsers.go | ||
parser.go | ||
parser_test.go | ||
utils.go |