Import a pipeline as part of the container
After going the SDC Docker Documentation, I was able to spin-up an SDC instance in and connect to the instance both via browser and exec -it.
I was able to import the pipeline via UI and using the curl manually. But I'm unable to import a pipeline part of the provisioning.
Here is my docker file,
FROM streamsets/datacollector:3.13.0
COPY pipeline.json pipelinestaginglocation/
EXPOSE 18630
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["dc", "-exec" ; "/bin/bash", "-c", "curl -XPOST -u user:password -v -H 'Content-Type: application/json' -H 'X-Requested-By: My Import Process' -d "@/pipelinestaginglocation/pipeline.json" http://localhost:18630/rest/v1/pipeline/sample_id/import?autoGeneratePipelineId=true"]
Do you see any errors?