-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
90 lines (78 loc) · 1.34 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
#
# Docker container for building SipX packages
#
FROM sipfoundrydev/sipx-docker-base-image:latest
MAINTAINER SIPFoundry Dev <[email protected]>
#
# Add the repository for sipx-baselibs
#
ADD sipx-baselibs.repo /etc/yum.repos.d/
#
# Update the yum database
#
RUN yum -y clean all; yum -y update
#
# Install Dependency Packages
#
RUN yum -y install \
cfengine \
dart-sdk \
mongo-cxx-driver-devel \
mongodb \
mongodb-server \
net-snmp \
net-snmp-agent-libs \
net-snmp-devel \
net-snmp-gui \
net-snmp-libs \
net-snmp-perl \
net-snmp-python \
net-snmp-sysvinit \
net-snmp-utils \
ruby-dbi \
rubygem-file-tail \
rubygem-net-sftp \
rubygem-net-ssh \
ruby-postgres
#
# Install packages needed by FreeSWITCH
#
RUN yum install -y \
gnutls-devel \
speex-devel \
sqlite-devel \
ldns-devel \
libedit-devel \
libmemcached-devel \
libogg-devel \
libvorbis-devel \
libjpeg-devel \
alsa-lib-devel \
e2fsprogs-devel \
libtheora-devel \
portaudio-devel \
libX11-devel \
erlang \
unixODBC-devel \
lzo-devel \
openssl098e \
which
#
# Install Kamailio dependencies
#
RUN yum -y install \
kamailio \
kamailio-mongodb \
kamailio-mysql \
kamailio-presence \
kamailio-sipx \
redis \
redhat-rpm-config \
libev-devel \
lksctp-tools-devel \
mongo-c-driver-devel \
mysql-server
#
# Do the final yum cleanup
#
RUN yum -y clean all