nextcloud-spreed-signaling/docker/janus/Dockerfile
kleener 16718a9d89
Update Dockerfile Janus
Update
- alpine 3.13 -> 3.14
- usrsctp 29 Mar 2021 -> 08 Oct 2021
- libsrtp 2.3.0 -> 2.4.2
- JANUS 0.11.1 -> 0.11.5
2021-11-24 12:58:56 +01:00

47 lines
1.4 KiB
Docker

# Modified from https://gitlab.com/powerpaul17/nc_talk_backend/-/blob/dcbb918d8716dad1eb72a889d1e6aa1e3a543641/docker/janus/Dockerfile
FROM alpine:3.14
RUN apk add --no-cache curl autoconf automake libtool pkgconf build-base \
glib-dev libconfig-dev libnice-dev jansson-dev openssl-dev zlib libsrtp-dev \
gengetopt libwebsockets-dev git curl-dev libogg-dev
# usrsctp
# 08 Oct 2021
ARG USRSCTP_VERSION=7c31bd35c79ba67084ce029511193a19ceb97447
RUN cd /tmp && \
git clone https://github.com/sctplab/usrsctp && \
cd usrsctp && \
git checkout $USRSCTP_VERSION && \
./bootstrap && \
./configure --prefix=/usr && \
make && make install
# libsrtp
RUN cd /tmp && \
wget https://github.com/cisco/libsrtp/archive/v2.4.2.tar.gz && \
tar xfv v2.4.2.tar.gz && \
cd libsrtp-2.4.2 && \
./configure --prefix=/usr --enable-openssl && \
make shared_library && \
make install && \
rm -fr /libsrtp-2.4.2 && \
rm -f /v2.4.2.tar.gz
# JANUS
ARG JANUS_VERSION=0.11.5
RUN mkdir -p /usr/src/janus && \
cd /usr/src/janus && \
curl -L https://github.com/meetecho/janus-gateway/archive/v$JANUS_VERSION.tar.gz | tar -xz && \
cd /usr/src/janus/janus-gateway-$JANUS_VERSION && \
./autogen.sh && \
./configure --disable-rabbitmq --disable-mqtt --disable-boringssl && \
make && \
make install && \
make configs
WORKDIR /usr/src/janus/janus-gateway-$JANUS_VERSION
CMD [ "janus" ]