mirror of
https://github.com/docker/cli.git
synced 2026-08-29 10:06:35 -05:00
2c68691b95ef2af4325cebdbbac3f55bcecf349d
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> Upstream-commit: 678c80f9256021ce74184fdd6b612d9dea377fba Component: engine
Languages
Go
92.3%
Shell
5.4%
Dockerfile
1.1%
Go-Checksums
0.7%
Makefile
0.3%
Other
0.2%