Open
Description
in bash, this is allowed:
cat << EOF > /tmp/afile
stuff
more stuff
EOF
Dockerfile are quite pedantic about no space between <<
and name EOF
, otherwise it gives a very confusing syntax error on next line which leads user to think if heredocs are supported, then the follow up google search makes things more confusing... looks to be a simple case of a missing \s* in heredoc parser.
Metadata
Metadata
Assignees
Labels
No labels