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
This commit is contained in:
kleener 2021-11-24 12:58:56 +01:00 committed by GitHub
parent b7121b2156
commit 16718a9d89
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,13 +1,13 @@
# Modified from https://gitlab.com/powerpaul17/nc_talk_backend/-/blob/dcbb918d8716dad1eb72a889d1e6aa1e3a543641/docker/janus/Dockerfile
FROM alpine:3.13
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
# 29 Mar 2021
ARG USRSCTP_VERSION=70d42ae95a1de83bd317c8cc9503f894671d1392
# 08 Oct 2021
ARG USRSCTP_VERSION=7c31bd35c79ba67084ce029511193a19ceb97447
RUN cd /tmp && \
git clone https://github.com/sctplab/usrsctp && \
@ -19,18 +19,18 @@ RUN cd /tmp && \
# libsrtp
RUN cd /tmp && \
wget https://github.com/cisco/libsrtp/archive/v2.3.0.tar.gz && \
tar xfv v2.3.0.tar.gz && \
cd libsrtp-2.3.0 && \
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.3.0 && \
rm -f /v2.3.0.tar.gz
rm -fr /libsrtp-2.4.2 && \
rm -f /v2.4.2.tar.gz
# JANUS
ARG JANUS_VERSION=0.11.1
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 && \