COMMAND
yamlname: "input_COMMAND" inputs: command_field: name: CMD type: COMMAND default: "ls -al" execute_commands: - bash -c "$command_field" docker_image_name: "ubuntu" docker_image_tag: "latest" volume_mappings: - /:/buddy
Image loading...
In this case, the container has a filesystem attached so that the commands can be run on repository files.
Hint
We recommend using
bash -c “$INPUT_NAME"
as the execution command for the CMD input. This way the command will always be run properly, regardless of the number of lines.
Last modified on Sep 23, 2024