2018-07-26 02:14:55 +08:00
|
|
|
FROM ubuntu:16.04
|
|
|
|
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
|
|
|
|
RUN apt-get update \
|
|
|
|
&& apt-get -y install wget libedit-dev xmlstarlet
|
|
|
|
|
|
|
|
RUN echo "deb http://ubuntu.bigbluebutton.org/xenial-200-dev bigbluebutton-xenial main " | tee /etc/apt/sources.list.d/bigbluebutton.list \
|
|
|
|
&& wget http://ubuntu.bigbluebutton.org/repo/bigbluebutton.asc -O- | apt-key add - \
|
|
|
|
&& apt-get update \
|
2018-08-03 04:51:38 +08:00
|
|
|
&& apt-get -y install bbb-freeswitch-core \
|
|
|
|
&& find /opt/freeswitch/conf/sip_profiles/ -name "*ipv6*" -prune -exec rm -rf "{}" \;
|
2018-07-26 02:14:55 +08:00
|
|
|
|
|
|
|
EXPOSE 7443
|
|
|
|
|
|
|
|
COPY docker-entrypoint.sh /usr/local/bin/
|
|
|
|
COPY event_socket_conf.xml /opt/freeswitch/conf/autoload_configs/event_socket.conf.xml
|
|
|
|
|
2018-08-04 04:22:34 +08:00
|
|
|
RUN wget -O /usr/local/bin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v1.2.2/dumb-init_1.2.2_amd64 \
|
|
|
|
&& chmod +x /usr/local/bin/dumb-init
|
|
|
|
|
|
|
|
ENTRYPOINT ["/usr/local/bin/dumb-init", "--"]
|
|
|
|
|
2018-07-26 02:14:55 +08:00
|
|
|
CMD [ "docker-entrypoint.sh" ]
|