17 lines
602 B
Docker
17 lines
602 B
Docker
FROM dougbtv/asterisk14
|
|
|
|
RUN yum install -y perl-Digest-MD5 perl-libwww-perl perl-LWP-Protocol-https sox mpg123 which python-pip wget unzip
|
|
RUN pip install pyst2==0.5.0
|
|
ENV REMCO_VER 0.11.1
|
|
RUN wget https://github.com/HeavyHorst/remco/releases/download/v${REMCO_VER}/remco_${REMCO_VER}_linux_amd64.zip && \
|
|
unzip remco_${REMCO_VER}_linux_amd64.zip && rm remco_${REMCO_VER}_linux_amd64.zip && \
|
|
mv remco_linux /bin/remco
|
|
|
|
COPY conf/*.conf /etc/asterisk/
|
|
COPY agi/* /var/lib/asterisk/agi-bin/
|
|
|
|
COPY remco.config /etc/remco/config
|
|
COPY conf/*.conf.tmpl /etc/remco/templates/
|
|
|
|
ENTRYPOINT ["remco"]
|