github.com/CyCoreSystems/ari@v4.8.4+incompatible/_examples/infra/asterisk/Dockerfile (about) 1 FROM debian:8 2 3 RUN apt-get update 4 RUN apt-get install -y build-essential openssl libxml2-dev libncurses5-dev uuid-dev sqlite3 libsqlite3-dev pkg-config curl libjansson-dev 5 6 RUN curl -s http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-14.0.0-rc1.tar.gz | tar xz 7 8 WORKDIR /asterisk-14.0.0-rc1 9 RUN ./configure; make; make install; make samples 10 11 COPY http.conf /etc/asterisk/http.conf 12 COPY ari.conf /etc/asterisk/ari.conf 13 COPY extensions.conf /etc/asterisk/extensions.conf 14 15 CMD ["/usr/sbin/asterisk", "-f"] 16