Hello, I am not involved in packaging specs, nor very familiar with the packaging tools, but usually Linux gives options to "force" your way in most of the cases.
A quick web search gave this: * https://askubuntu.com/questions/74523/how-can-i-install-a-package-without-installing-some-dependencies/1005870 It lists a few "unorthodox" variants that you can try. Of course, you can also tune the specs and build your packages in a docker image (to be bigger because you need compilers and other build tools), then propagate to the smaller image only the needed packages. As a project, we try to provide the packages for the general needs, not focusing on size or other specific use cases. There are a lot of options that could be tuned overall. Of course, you can also propose changes to the specs via pull requests and those considering useful will be merged. Contributions not targeting code, but documentation, tools, packaging, ... are very appreciated as well. Cheers, Daniel On 21.09.20 10:56, Pavithra Mohanraja wrote: > Hi, > Thanks for your reply. Now is there any way to rule out this package > as i already specified python is making my image size bigger. > > Thanks, > Pavithra > > On Mon, Sep 21, 2020 at 2:22 PM Daniel-Constantin Mierla > <[email protected] <mailto:[email protected]>> wrote: > > Hello, > > kamailio itself does not depend on python, only if you use > app_python or app_python3 modules, then it requires python to be > installed. > > However, the deb/rpm may have this dependency because of the tool > used for db_text files management, which is written in python. > Probably this tool is included in kamailio main package, creating > this dependency. The tool is anyhow not really maintained (see > https://github.com/kamailio/kamailio/issues/2469 > <https://github.com/kamailio/kamailio/issues/2469>), maybe in the > future it should be removed or packaged separately. > > Cheers, > Daniel > > On 21.09.20 10:35, Pavithra Mohanraja wrote: >> Hi, >> I am building kamailio as an docker image by installing kamailio >> using "apt-get install kamailio" in ubuntu 18.04, which installs >> python by default which makes my image size bigger. Does kamailio >> uses Python?. else what could be the alternative? >> >> Does anybody came across this situation. Kindly advise. >> >> Thanks, >> Pavithra >> >> _______________________________________________ >> Kamailio (SER) - Users Mailing List >> [email protected] <mailto:[email protected]> >> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >> <https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users> > > -- > Daniel-Constantin Mierla -- www.asipto.com <http://www.asipto.com> > www.twitter.com/miconda <http://www.twitter.com/miconda> -- > www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda> > Funding: https://www.paypal.me/dcmierla <https://www.paypal.me/dcmierla> > -- Daniel-Constantin Mierla -- www.asipto.com www.twitter.com/miconda -- www.linkedin.com/in/miconda Funding: https://www.paypal.me/dcmierla
_______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
