Skip to content

Conversation

@katiewasnothere
Copy link
Contributor

This PR adds support for CMD and LABEL instructions in the native builder's parser.

This also changes how options are tokenized. Options now include the raw string so that when constructing a command for instructions like CMD and RUN, we can use the exact user input without having to add logic in the tokenizer to know when we're parsing a command verses other options, etc.

Closes #428 and #429

@katiewasnothere katiewasnothere force-pushed the cmd_label_inst_nativebuilder branch from 8a2a2fe to 4ce85bd Compare August 5, 2025 19:02
@katiewasnothere katiewasnothere merged commit 8adb215 into apple:main Aug 5, 2025
3 of 4 checks passed
@katiewasnothere katiewasnothere deleted the cmd_label_inst_nativebuilder branch August 5, 2025 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Native builder parser support CMD dockerfile instruction

2 participants