13 lines
524 B
Docker
13 lines
524 B
Docker
FROM dougbtv/asterisk14
|
|
|
|
RUN yum install -y perl-Digest-MD5 perl-libwww-perl perl-LWP-Protocol-https sox mpg123 which python-pip
|
|
RUN pip install pyst2==0.5.0
|
|
RUN curl -L https://github.com/kelseyhightower/confd/releases/download/v0.15.0/confd-0.15.0-linux-amd64 > /usr/local/bin/confd && chmod +x /usr/local/bin/confd
|
|
|
|
COPY conf/*.conf /etc/asterisk/
|
|
COPY conf/*.conf.tmpl /etc/confd/templates/
|
|
COPY conf/*.conf.toml /etc/confd/conf.d/
|
|
COPY agi/* /var/lib/asterisk/agi-bin/
|
|
|
|
CMD confd -onetime -backend env && asterisk -fvv
|