Reading the documentation, it says:
Depending on the runtime, applications can be packaged in two ways:
Spring Boot uber-jar that is hosted in a maven repository, file, or HTTP(S). Docker image.
So I made a docker image that runs a hello-world python program, and registered it on a local SCDF server.
app register --name hello-world --type task --uri docker:hello-world:latest
But when I try to launch it as a task, it fails
task create --name helloTask --definition "hello-world"
task launch helloTask
Command failed org.springframework.cloud.dataflow.rest.client.DataFlowClientException: Exception trying to launch....resource = Docker Resource [docker:hello-world:latest]]
Do I need another server enviornment? Which one? The question is, is possible to use SCDF to run any dockerized application or it only accpets Spring Boot (java) ?
PS: my Dockerfile
FROM python:3.4-alpine
ADD . /code
WORKDIR /code
CMD python app.py