Updates: Alpine 1.13, Janus 0.10.9, USRSCTP 37a9dc3e18bfdcc972946dff0206155cee6b5dd0 / add libsrtp 2.3.0

This commit is contained in:
root 2021-02-01 11:52:53 +01:00
parent 61000f5f69
commit d6b34b096b
4 changed files with 19 additions and 8 deletions

View file

@ -1,4 +1,4 @@
FROM golang:1.13 AS builder
FROM golang:1.15.7 AS builder
RUN apt-get update && apt-get install -y python3
WORKDIR /workdir
@ -6,7 +6,7 @@ WORKDIR /workdir
COPY . .
RUN make build
FROM alpine:3.11
FROM alpine:3.13
ENV CONFIG=/config/server.conf
RUN adduser -D spreedbackend && \

View file

@ -12,7 +12,7 @@ services:
- janus
- coturn
nats:
image: nats:2.1
image: nats:2.1.9
volumes:
- ./gnatsd.conf:/config/gnatsd.conf
command: ["-c", "/config/gnatsd.conf"]

View file

@ -1,4 +1,4 @@
FROM alpine:3.11
FROM alpine:3.13
RUN apk add --no-cache coturn

View file

@ -1,12 +1,12 @@
# Modified from https://gitlab.com/powerpaul17/nc_talk_backend/-/blob/dcbb918d8716dad1eb72a889d1e6aa1e3a543641/docker/janus/Dockerfile
FROM alpine:3.11
FROM alpine:3.13
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
gengetopt libwebsockets-dev git curl-dev
# usrsctp
ARG USRSCTP_VERSION=4069ba5b9587bd7c99d964756b527d6259f0d3da
ARG USRSCTP_VERSION=37a9dc3e18bfdcc972946dff0206155cee6b5dd0
RUN cd /tmp && \
git clone https://github.com/sctplab/usrsctp && \
@ -16,9 +16,20 @@ RUN cd /tmp && \
./configure --prefix=/usr && \
make && make install
# 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 && \
./configure --prefix=/usr --enable-openssl && \
make shared_library && \
make install && \
rm -fr /libsrtp-2.3.0 && \
rm -f /v2.3.0.tar.gz
# JANUS
ARG JANUS_VERSION=0.9.2
ARG JANUS_VERSION=0.10.9
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 && \