-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
( Related issue: #7 )
Actual behaviour
Linter fails to recognise multiline RUN statements with Heredoc involving output redirection.
Each line throws "Unknown instruction: {some_command} (dockerfile-utils 38)" (displayed with curly red underline).
Expected behaviour
The entire multiline RUN block should be recognised as a single, valid instruction.
Example:
This RUN command is valid and confirmed to be working as part of a production container image file.
RUN cat << 'EOF' > /home/example/.zshrc
setopt PROMPT_SUBST
autoload -U colors && colors
PS1='%n@%m %~ $ '
EOFExceptions displayed:
Unknown instruction: SETOPT (dockerfile-utils 38)
Unknown instruction: AUTOLOAD (dockerfile-utils 38)
Unknown instruction: PS1='%N@%M (dockerfile-utils 38)
Zed version: 0.210.4
Extension version: 0.0.6
Metadata
Metadata
Assignees
Labels
No labels