Skip to content

kamailio/pkg-kamailio-docker

Repository files navigation

Description

Docker Debian based Images with dependencies installed, ready to be used to build Kamailio from sources

Upgrade

You need the kamailio sources at src so get them:

git clone https://github.com/kamailio/kamailio.git src

or refresh them:

make pull

and just

make

build locally the image

for instance:

export DIST=bullseye VERSION=master
cd ${DIST}; docker build --tag=pkg-kamailio-docker:${VERSION}-${DIST} .

or pull the image from Github Packages

docker pull ghcr.io/kamailio/pkg-kamailio-docker:${VERSION}-${DIST}

run container

If you built the docker image locally:

IMAGE=pkg-kamailio-docker

or if you've pulled it from Github Packages:

IMAGE=ghcr.io/kamailio/pkg-kamailio-docker

Then, in all cases, go to the root folder of your kamailio source code and launch the container:

docker run -i -t --rm -v `pwd`:/code:rw ${IMAGE}:${VERSION}-${DIST} /bin/bash

To build kamailio against Debian stable using that container, run:

cd /code
make deb-stable

About

Docker files to easily build Kamailio on different Debian/Ubuntu releases

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors 4

  •  
  •  
  •  
  •