boundless-lifeguard-61788
09/13/2024, 11:57 PMjolly-florist-66728
09/13/2024, 11:57 PMShellTask
using the container_image
parameter directly. This avoids the need to nest tasks or use ContainerTask
.
from flytekit import ShellTask
shell_task = ShellTask(
name="example_shell_task",
script="echo Hello, Flyte!",
container_image="your_custom_image:latest"
)
Would you like more details?
Sources:
- Flyte Community Discussion
- Flyte Community Discussion 👍 1 button 👎 0 button 💡 Hint: Mention @ancient-wolf-19325 in the thread for followups.average-finland-92144
09/16/2024, 3:33 PMboundless-lifeguard-61788
09/16/2024, 5:05 PM