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
fix(build): template ARG substitution handles spaces, ${refs} and special chars
The 'Apply template values' step rejected any ARG value outside a narrow char allowlist (no spaces/$/{/}), so legitimate configure-style values like LUSTRE_CONFIG_ARGS="--with-linux=...${LINUX_KERNEL}... --disable-tests ..." failed the build. And the unquoted sed replacement would have broken Docker's ARG parsing for multi-word values anyway. Rewrote it in Python as a literal file edit: validates ARG names are identifiers and values have no newline, then writes ARG NAME="value" (double-quoted, ${OTHER_ARG} preserved for build-time expansion). No sed/shell interpolation -> no injection via #/&/quotes/spaces.
0 commit comments