simple: image: busybox:latest command: sh -c "sleep 1 && echo hello && tail -f /dev/null" another: image: busybox:latest command: sh -c "sleep 1 && echo test"