Commit fbc73c2c authored by doodlemania's avatar doodlemania

switching to manual build from source - still missing libnice-10.so somehow

parent 5f0ad1e6
......@@ -10,10 +10,33 @@ RUN cd /app/code/nats && \
curl -L https://github.com/nats-io/nats-server/releases/download/v2.1.7/nats-server-v2.1.7-linux-amd64.zip -o nats-server.zip && \
unzip nats-server.zip && \
mv nats-server-v2.1.7-linux-amd64/* .
RUN sudo curl -sL -o /etc/apt/trusted.gpg.d/morph027-janus.asc https://packaging.gitlab.io/janus/gpg.key && \
. /etc/lsb-release; echo "deb [arch=amd64] https://packaging.gitlab.io/janus/$DISTRIB_CODENAME $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/morph027-janus.list && \
apt update && \
apt install janus janus-tools -y
#RUN sudo curl -sL -o /etc/apt/trusted.gpg.d/morph027-janus.asc https://packaging.gitlab.io/janus/gpg.key && \
# . /etc/lsb-release; echo "deb [arch=amd64] https://packaging.gitlab.io/janus/$DISTRIB_CODENAME $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/morph027-janus.list && \
# apt update && \
# apt install janus janus-tools -y
RUN apt install libmicrohttpd-dev libjansson-dev \
libssl-dev libsrtp-dev libsofia-sip-ua-dev libglib2.0-dev \
libopus-dev libogg-dev libcurl4-openssl-dev liblua5.3-dev \
libconfig-dev pkg-config gengetopt libtool automake libgtk2.0-dev
RUN mkdir /app/code/libnice && \
cd /app/code/libnice && \
wget https://libnice.freedesktop.org/releases/libnice-0.1.17.tar.gz && \
tar -xvzf libnice-0.1.17.tar.gz && \
./configure && make && make install
RUN mkdir /app/code/libsrtp && \
cd /app/code/libsrtp &&
wget https://github.com/cisco/libsrtp/archive/v2.3.0.zip && \
unzip v2.3.0.zip && \
cd libsrtp-2.3.0 && \
./configure && make && make install
RUN cd /app/code && \
git clone https://github.com/meetecho/janus-gateway.git && \
cd janus-gateway && \
./configure && make && make install && make configs
RUN rm /etc/apache2/sites-enabled/* \
&& sed -e 's,^ErrorLog.*,ErrorLog "/dev/stderr",' -i /etc/apache2/apache2.conf \
&& sed -e "s,MaxSpareServers[^:].*,MaxSpareServers 5," -i /etc/apache2/mods-available/mpm_prefork.conf \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment