/pkg-kamailio-docker

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

Primary LanguageMakefileGNU General Public License v3.0GPL-3.0

Description

Docker Debian based Images with dependences 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=stretch VERSION=dev
cd ${DIST}; docker build --tag=pkg-kamailio-docker:${VERSION}-${DIST} .

or pull the image from docker hub

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

run container

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