Make Flexisip DEB Packages for Ubuntu 20.04
Launch linphone-sdk container from the already creatted docker image and import the Flexisip source code into this container, then build flexisip and create its DEB packages. First of all, run the linphone-sdk docker container in any directory (projects).
Takanobu FuseAdministrator

2 min read

2 years ago


Docker Linphone Sdk Flexisip

$ docker run --name flexisip-desktop -v $PWD:/home/bc -it

NOTE)The followings will be implemented inside the container.

1. Install Flexisip Dependent Packages

Refer to the below Ubuntu 18.04 Dockerfile and install the Flexisip development dependency packages.


$ sudo su -c 'apt-get -y update && apt-get -y install libhiredis-dev libjansson-dev libnghttp2-dev libprotobuf-dev libsnmp-dev protobuf-compiler wget && apt-get -y clean'

2. Download Source, Build, Make DEB Packages

Download the source code, specify the packaging options, etc. then build.


Execute the following commands up to the build.

$ git clone --recursive
$ cd flexisip
$ mkdir build
$ cd build
$ make package

If you want to download a specific version one including of submodules downsized the repository history, specify the following options.

$ git clone -b release/2.1 --recursive --shallow-submodules 

The following packages will be created in the build folder.


Please install the above packages on the Ubuntu 20.04 host machine or use it when creating a new Flexisip Docker image.

In the next blog, I will describe the Dockerfile that creates the Flexisip Docker image from the above DEB packages, and the Dockerfiles that creates other images necessary for running the Flexisip SIP Server.