Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/markuslindenberg/docker-asterisk-debbuilder

Dockerfile to build unofficial Asterisk 1.2 packages for Debian Jessie
https://github.com/markuslindenberg/docker-asterisk-debbuilder

Last synced: 1 day ago
JSON representation

Dockerfile to build unofficial Asterisk 1.2 packages for Debian Jessie

Awesome Lists containing this project

README

        

# What is it?

This is a *Dockerfile* and shell script to create a Docker image that will, when run, build **unofficial** Debian Jessie packages of the current Asterisk 13 tarball including PJSIP 2.3.

# Usage

```
git clone https://github.com/markuslindenberg/docker-asterisk-debbuilder.git
cd docker-asterisk-debbuilder
docker build -t astbuild .
docker run astbuild
```

# Package notes

The packages are created using FPM (https://github.com/jordansissel/fpm) and don't follow the conventions of the official Asterisk and PJSIP Debian packages. Especially since FPM doesn't use `dpkg-shlibdeps`, the manually created library dependencies are sketchy at best. I chose FPM because of it's ability to create packages on the fly with only one command invocation and without needing elaborate packaging work.

I really do like FPM, but think it's best used for packaging scripts and stuff that doesn't use dynamic linking. Nevertheless, the packages created by this `Dockerfile` do work fine.