bigbluebutton-Github/labs/docker/kurento/Dockerfile
2018-08-24 17:15:47 -03:00

29 lines
893 B
Docker

FROM ubuntu:16.04
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update \
&& apt-get -y dist-upgrade \
&& apt-get install -y software-properties-common curl wget apt-transport-https
RUN wget https://ubuntu.bigbluebutton.org/repo/bigbluebutton.asc -O- | apt-key add - \
&& add-apt-repository "deb https://ubuntu.bigbluebutton.org/xenial-200-dev bigbluebutton-xenial main" \
&& apt-get update \
&& apt-get -y install kurento-media-server bzip2 jq \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN apt-get update \
&& apt-get install -y --download-only openh264-gst-plugins-bad-1.5
COPY ./docker-entrypoint.sh /usr/local/bin/
COPY ./healthchecker.sh /healthchecker.sh
HEALTHCHECK --start-period=15s --interval=30s --timeout=3s --retries=1 CMD /healthchecker.sh
ENV GST_DEBUG=Kurento*:5
ENV PORT=8888
ENTRYPOINT ["docker-entrypoint.sh"]
CMD ["/usr/bin/kurento-media-server"]