YAML folded scalar (>) preserves newlines on more-indented continuation lines, so the shell received && on its own line which is invalid in dash. Switched to the list form [/bin/sh, -c, |script|] so Docker passes the script verbatim to sh -c without double-wrapping. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2.8 KiB
2.8 KiB