forked from krull/docker-janus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from kmeyerhofer/updates
Updates
- Loading branch information
Showing
2 changed files
with
12 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
############################################################ | ||
# Dockerfile - Janus Gateway on Debian Jessie | ||
# Dockerfile - Janus Gateway on Debian Stretch | ||
# https://github.com/krull/docker-janus | ||
############################################################ | ||
|
||
# set base image debian jessie | ||
FROM debian:jessie | ||
FROM debian:stretch | ||
|
||
# file maintainer author | ||
MAINTAINER brendan jocson <[email protected]> | ||
|
@@ -23,7 +23,7 @@ ARG JANUS_WITH_WEBSOCKETS="1" | |
ARG JANUS_WITH_MQTT="0" | ||
ARG JANUS_WITH_PFUNIX="1" | ||
ARG JANUS_WITH_RABBITMQ="0" | ||
# https://goo.gl/dmbvc1 | ||
# https://goo.gl/dmbvc1 | ||
ARG JANUS_WITH_FREESWITCH_PATCH="0" | ||
ARG JANUS_CONFIG_DEPS="\ | ||
--prefix=/opt/janus \ | ||
|
@@ -39,6 +39,7 @@ ARG JANUS_BUILD_DEPS_DEV="\ | |
libglib2.0-dev \ | ||
libopus-dev \ | ||
libogg-dev \ | ||
liblua5.3-dev \ | ||
pkg-config \ | ||
" | ||
ARG JANUS_BUILD_DEPS_EXT="\ | ||
|
@@ -82,9 +83,9 @@ RUN \ | |
&& DEBIAN_FRONTEND=noninteractive apt-get update \ | ||
&& DEBIAN_FRONTEND=noninteractive apt-get -y --no-install-recommends install $JANUS_BUILD_DEPS_DEV ${JANUS_BUILD_DEPS_EXT} \ | ||
# build libsrtp | ||
&& curl -fSL https://github.com/cisco/libsrtp/archive/v2.0.0.tar.gz -o ${BUILD_SRC}/v2.0.0.tar.gz \ | ||
&& tar xzf ${BUILD_SRC}/v2.0.0.tar.gz -C ${BUILD_SRC} \ | ||
&& cd ${BUILD_SRC}/libsrtp-2.0.0 \ | ||
&& curl -fSL https://github.com/cisco/libsrtp/archive/v2.1.0.tar.gz -o ${BUILD_SRC}/v2.1.0.tar.gz \ | ||
&& tar xzf ${BUILD_SRC}/v2.1.0.tar.gz -C ${BUILD_SRC} \ | ||
&& cd ${BUILD_SRC}/libsrtp-2.1.0 \ | ||
&& ./configure --prefix=/usr --enable-openssl \ | ||
&& make shared_library \ | ||
&& make install \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters