forked from igorolhovskiy/kamailio-dev-dc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.debian.kamailio54
60 lines (55 loc) · 2.56 KB
/
Dockerfile.debian.kamailio54
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
FROM debian:buster
LABEL maintainer="Igor Olhovskiy <[email protected]>"
# avoid httpredir errors
RUN sed -i 's/httpredir/deb/g' /etc/apt/sources.list
RUN rm -rf /var/lib/apt/lists/* && \
apt-get update && \
apt-get install --assume-yes gnupg wget && \
echo "deb http://deb.kamailio.org/kamailio54 buster main" > /etc/apt/sources.list.d/kamailio.list && \
wget -O- http://deb.kamailio.org/kamailiodebkey.gpg | apt-key add - && \
apt-get update && \
apt-get install --assume-yes sngrep \
kamailio \
kamailio-autheph-modules \
kamailio-berkeley-bin \
kamailio-berkeley-modules \
kamailio-cnxcc-modules \
kamailio-cpl-modules \
kamailio-dbg \
kamailio-erlang-modules \
kamailio-extra-modules \
kamailio-geoip-modules \
kamailio-geoip2-modules \
kamailio-ims-modules \
kamailio-json-modules \
kamailio-kazoo-modules \
kamailio-ldap-modules \
kamailio-lua-modules \
kamailio-memcached-modules \
kamailio-mongodb-modules \
kamailio-mono-modules \
kamailio-mysql-modules \
kamailio-nth \
kamailio-outbound-modules \
kamailio-perl-modules \
kamailio-phonenum-modules \
kamailio-postgres-modules \
kamailio-presence-modules \
kamailio-python-modules \
kamailio-rabbitmq-modules \
kamailio-radius-modules \
kamailio-redis-modules \
kamailio-sctp-modules \
kamailio-snmpstats-modules \
kamailio-sqlite-modules \
kamailio-systemd-modules \
kamailio-tls-modules \
kamailio-unixodbc-modules \
kamailio-utils-modules \
kamailio-websocket-modules \
kamailio-xml-modules \
kamailio-xmpp-modules && \
mkdir -p /db && \
apt-get clean && rm -rf /var/lib/apt/lists/*
VOLUME ["/etc/kamailio", "/db"]
ENTRYPOINT ["kamailio", "-DD", "-E"]