Colleagues, it so happened that I am now using the servicemix 7.0 technology in one old project. There are several commands that I run manually.
build image servicemix docker build --no-cache -t servicemix-http:latest .
start container and copy data from local folder source and folder .m docker run --rm -it -v %cd%:/source -v %USERPROFILE%/.m2:/root/.m2 servicemix-http
start console servicemix and run command feature:repo-add file:/../source/source/transport/feature/target/http-feature.xml
run command feature:install http-feature
copy deploy files from local folder to deploy folder into servicemix docker cp /configs/. :/deploy
update image servicemix docker commit servicemix-http
Now I describe the gitlab-ci.yml for deployment. And the question concerns the servicemix commands that were launched from the karaf console. feature:repo-add feature:install Is there any way to script them?