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
As reported in moby/moby#5701 and microsoft/vscode-docker#238, it seems like using single quotes in a JSON array for CMD, ENTRYPOINT, and RUN instructions can cause very cryptic failures when trying to build the Docker image. We should add a warning about this case. We can't make it an error because the use of single quotes can be valid in a shell.
The text was updated successfully, but these errors were encountered:
SHELL has strict checks as it can only be written in JSON format. The other instructions listed below can have its arguments optionally written in JSON format and so they are the ones that need to be checked by this new validation rule.
As reported in moby/moby#5701 and microsoft/vscode-docker#238, it seems like using single quotes in a JSON array for
CMD
,ENTRYPOINT
, andRUN
instructions can cause very cryptic failures when trying to build the Docker image. We should add a warning about this case. We can't make it an error because the use of single quotes can be valid in a shell.The text was updated successfully, but these errors were encountered: