-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
30 lines (30 loc) · 868 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
FROM centos:7
LABEL maintainer="Alisio Meneses [email protected]"
LABEL version="0.9-beta"
RUN yum -y install epel-release
RUN yum -y update
COPY ./files/etc/yum.repos.d /etc/yum.repos.d
RUN rpm --import https://ast.tucny.com/repo/RPM-GPG-KEY-dtucny
RUN rpm --import http://packages.irontec.com/public.key
RUN yum -y --nogpgcheck install \
asterisk \
asterisk-oss \
asterisk-sip \
asterisk-sounds-core-en-alaw \
augeas \
mlocate \
net-tools \
ngrep \
rsync \
sngrep \
wget \
vim
#COPY ./files/etc/asterisk/sip.conf /etc/asterisk/sip.conf
COPY ./files/etc/asterisk/ /etc/asterisk/
VOLUME /etc/asterisk
EXPOSE 5038/tcp
EXPOSE 5060/udp
EXPOSE 8088/tcp
EXPOSE 10000-10100/udp
WORKDIR /etc/asterisk
ENTRYPOINT ["/usr/sbin/asterisk", "-vvvvvvv"]