Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions Dockerfile
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 <brendan@jocson.eu>
Expand Down Expand Up @@ -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="\
Expand Down Expand Up @@ -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 \
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# docker-janus
`docker-janus` is a Debian 8 based docker image for [Meetecho's Janus Gateway](https://github.com/meetecho/janus-gateway)
`docker-janus` is a Debian 9 based docker image for [Meetecho's Janus Gateway](https://github.com/meetecho/janus-gateway)

## Description
All the janus docker builds I have seen in hub.docker.com were all ubuntu based and/or of some redhat flavor. I successfully build janus in debian 7 and 8 before, so I thought it would be a good way to practice docker best practices and provide a debian based image at the same time.
Expand Down