Asterisk PBX 11.17.1 Docker image
The smallest Docker image with Asterisk PBX 11.17.1 (~17MB) https://hub.docker.com/r/andrius/alpine-asterisk/
This image is based on Alpine Linux (2.7) image, which is only a 5MB image, and contains
Asterisk PBX 11.17.1.
Due of bug, this image based on latest Alpine Linux version (2.7), where everything works: SIP stack, calls, AGI, AMI. Author uing this image for ongoing VoIP systems development with Adhearsion.
This bug is fixed on November 18, 2016, fresh asterisk version is available now.
Total size of this image is only:
Only base Asterisk packages installed. If you want to add sounds, it's recommended to mount them as volume or data container, however you may install additional packages with
By default, Asterisk PBX store CDR's to the CSV file, but also support databases. Refer Asterisk PBX documentation for ODBC support.
For Postgre SQL include following lines to your Dockerfile:
RUN apk add --update less psqlodbc asterisk-odbc asterisk-pgsql \ && rm -rf /var/cache/apk/*
And For MySQL:
RUN apk add --update psqlodbc asterisk-odbc \ && apk add mysql-connector-odbc --update-cache --repository http://dl-4.alpinelinux.org/alpine/edge/testing/ --allow-untrusted \ && rm -rf /var/cache/apk/*