-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
24 lines (21 loc) · 910 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
FROM debian:9.9-slim
LABEL maintainer="Vadim Gaisin, [email protected]"
RUN apt-get update \
&& apt-get install -y gnupg2 wget \
&& wget -O - https://files.freeswitch.org/repo/deb/freeswitch-1.8/fsstretch-archive-keyring.asc | apt-key add - \
&& echo "deb http://files.freeswitch.org/repo/deb/freeswitch-1.8/ stretch main" > /etc/apt/sources.list.d/freeswitch.list \
&& echo "deb-src http://files.freeswitch.org/repo/deb/freeswitch-1.8/ stretch main" >> /etc/apt/sources.list.d/freeswitch.list \
&& apt-get update \
&& apt-get install -y freeswitch-meta-vanilla \
freeswitch-mod-translate \
freeswitch-mod-xml-curl \
freeswitch-mod-xml-rpc \
freeswitch-mod-odbc-cdr \
freeswitch-mod-shout \
unixodbc \
unixodbc-dev \
odbc-postgresql \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
ENTRYPOINT ["freeswitch"]
#Parameters can be overridden
CMD ["-np"]