代码拉取完成,页面将自动刷新
FROM centos:7.8.2003
MAINTAINER SmithYan <wy521wywy@163.com>
WORKDIR /usr/local/src/
RUN yum update -y && \
yum clean all && \
yum install -y http://files.freeswitch.org/freeswitch-release-1-6.noarch.rpm epel-release && \
yum install -y git alsa-lib-devel autoconf automake bison broadvoice-devel bzip2 curl-devel e2fsprogs-devel flite-devel g722_1-devel gcc-c++ gdbm-devel gnutls-devel ilbc2-devel ldns-devel libcodec2-devel libcurl-devel libedit-devel libidn-devel libjpeg-devel libmemcached-devel libogg-devel libsilk-devel libsndfile-devel libtheora-devel libtiff-devel libtool libuuid-devel libvorbis-devel libxml2-devel lua-devel lzo-devel mongo-c-driver-devel ncurses-devel net-snmp-devel openssl-devel opus-devel pcre-devel perl perl-ExtUtils-Embed pkgconfig portaudio-devel postgresql-devel python-devel python-devel soundtouch-devel speex-devel sqlite-devel unbound-devel unixODBC-devel wget which yasm zlib-devel && \
git clone -b v1.6 https://gitee.com/YanSmith/freeswitch.git && \
cd /usr/local/src/freeswitch/ && \
./bootstrap.sh && \
./configure && \
make && \
make install && \
make samples && \
make cd-sounds-install && \
make cd-moh-install && \
ln -sf /usr/local/freeswitch/bin/freeswitch /usr/bin/ && \
ln -sf /usr/local/freeswitch/bin/fs_cli /usr/bin/ && \
EXPOSE 5060:5000/tcp 5060:5000/udp 5080/tcp 5080/udp
EXPOSE 5066/tcp 7443/tcp
EXPOSE 8021/tcp
EXPOSE 64535-65535/udp
CMD ["/bin/bash","freeswitch"]
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。