Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependencies updated #8

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
FROM debian:jessie
FROM ubuntu:focal

LABEL maintainer="Linagora Folks <[email protected]>"
LABEL description="Provides an image with Janus Gateway"

ENV DEBIAN_FRONTEND "noninteractive"
RUN ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime
RUN apt-get update -y \
&& apt-get upgrade -y

Expand All @@ -15,11 +17,13 @@ RUN apt-get install -y \
libsofia-sip-ua-dev \
libglib2.0-dev \
libopus-dev \
libconfig-dev \
libogg-dev \
libini-config-dev \
libcollection-dev \
pkg-config \
gengetopt \
libcurl4-openssl-dev \
libtool \
autotools-dev \
automake
Expand All @@ -35,7 +39,6 @@ RUN apt-get install -y \
RUN cd ~ \
&& git clone https://github.com/cisco/libsrtp.git \
&& cd libsrtp \
&& git checkout v2.0.0 \
&& ./configure --prefix=/usr --enable-openssl \
&& make shared_library \
&& sudo make install
Expand Down Expand Up @@ -67,7 +70,7 @@ RUN cd ~ \
&& make install \
&& make configs

RUN cp -rp ~/janus-gateway/certs /opt/janus/share/janus
#RUN cp -rp ~/janus-gateway/certs /opt/janus/share/janus

COPY conf/*.cfg /opt/janus/etc/janus/

Expand All @@ -77,4 +80,4 @@ COPY nginx/nginx.conf /etc/nginx/nginx.conf
EXPOSE 80 7088 8088 8188 8089
EXPOSE 10000-10200/udp

CMD service nginx restart && /opt/janus/bin/janus --nat-1-1=${DOCKER_IP}
CMD service nginx restart && /opt/janus/bin/janus --nat-1-1=${DOCKER_IP}