[SR-Users] Kamailio uses Python

Daniel-Constantin Mierla miconda at gmail.com
Mon Sep 21 11:10:44 CEST 2020


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:


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.


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
> <miconda at gmail.com <mailto:miconda at gmail.com>> 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
>>     sr-users at lists.kamailio.org <mailto:sr-users at lists.kamailio.org>
>>     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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200921/8ed17d5c/attachment.htm>

More information about the sr-users mailing list