You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a Dockerfile begins with a UTF-8 BOM, the first instruction is not parsed correctly. This causes FROM statements to be parsed as generic Instructions instead of From
I think Visual Studio adds UTF-8 BOMs by default.
The text was updated successfully, but these errors were encountered:
@JamieMagee Thank you for your bug report and apologies for not responding to this earlier. I have a fix but will need to confirm the behaviour of how offsets are handled in the language server protocol if a BOM is found.
When a Dockerfile begins with a UTF-8 BOM, the first instruction is not parsed correctly. This causes
FROM
statements to be parsed as genericInstruction
s instead ofFrom
I think Visual Studio adds UTF-8 BOMs by default.
The text was updated successfully, but these errors were encountered: