GithubHelp home page GithubHelp logo

ipoddubny / alpine-asterisk Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 4.0 13 KB

Docker image for Asterisk on Alpine Linux, built from sources with bundled pjproject

Home Page: https://hub.docker.com/r/ipoddubny/alpine-asterisk/

Dockerfile 100.00%

alpine-asterisk's Introduction

Small Docker image for Asterisk on Alpine Linux

WARNING. New versions of Asterisk redefine memory management functions (malloc, free), which is incompatible with MUSL libc used by Alpine.

Goals

  • Create a minimal Docker image for Asterisk
  • Build it from source to make it easy to build any versions, including rcs, betas or git master
  • Use the bundled pjproject, not the one from the repositories
    • It's the officially recommended way to install pjsip
    • 2.5.5 currently available in Alpine repositories has multiple critical security vulnerabilities (AST-2017-009, AST-2017-003, AST-2017-002)
    • The bundled version is maintained by the Asterisk development team, as of today it's 2.7.1 for Asterisk 13 and 15, with some patches backported from the upstream.

Limitations

  • No support for databases except for sqlite, no odbc modules
  • Some rarely used channel drivers and other features are not built:
    • channel drivers: MGCP, Skinny, Unistim
    • DUNDi
    • some other applications and modules

Example usage

docker run -it --rm \
  --network=host \
  --name=asterisk \
  --mount type=bind,source=/etc/asterisk,destination=/etc/asterisk,ro=true \
  --mount type=bind,source=/var/lib/asterisk/sounds,destination=/var/lib/asterisk/sounds,ro=true \
  --mount type=bind,source=/var/lib/asterisk/moh,destination=/var/lib/asterisk/moh,ro=true \
  --mount type=bind,source=/var/log/asterisk,destination=/var/log/asterisk \
  ipoddubny/alpine-asterisk \
  /usr/sbin/asterisk -cvvvvf

References

alpine-asterisk's People

Contributors

ipoddubny avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.