Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.2.2-ubuntu-24.04 #33

Merged
merged 4 commits into from
Apr 28, 2024
Merged
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
2 changes: 1 addition & 1 deletion Dockerfile
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Supported tags and respective `Dockerfile` links

* [`latest`](https://github.com/ladamalina/janus-gateway/blob/master/v1.2.2-bookworm/Dockerfile)
* [`v1.2.2-bookworm`](https://github.com/ladamalina/janus-gateway/blob/master/v1.2.2-bookworm/Dockerfile), [`v1.2.2-bookworm-slim`](https://github.com/ladamalina/janus-gateway/blob/master/v1.2.2-bookworm-slim/Dockerfile), [`v1.2.1-bookworm`](https://github.com/ladamalina/janus-gateway/blob/master/v1.2.1-bookworm/Dockerfile), [`v1.2.1-bullseye`](https://github.com/ladamalina/janus-gateway/blob/master/v1.2.1-bullseye/Dockerfile), [`v1.2.0-bullseye`](https://github.com/ladamalina/janus-gateway/blob/master/v1.2.0-bullseye/Dockerfile)
* [`v1.2.2-bookworm`](https://github.com/ladamalina/janus-gateway/blob/master/v1.2.2-bookworm/Dockerfile), [`v1.2.2-bookworm-slim`](https://github.com/ladamalina/janus-gateway/blob/master/v1.2.2-bookworm-slim/Dockerfile), [`v1.2.2-ubuntu-24.04`](https://github.com/ladamalina/janus-gateway/blob/master/v1.2.2-ubuntu-24.04/Dockerfile), [`v1.2.1-bookworm`](https://github.com/ladamalina/janus-gateway/blob/master/v1.2.1-bookworm/Dockerfile), [`v1.2.1-bullseye`](https://github.com/ladamalina/janus-gateway/blob/master/v1.2.1-bullseye/Dockerfile), [`v1.2.0-bullseye`](https://github.com/ladamalina/janus-gateway/blob/master/v1.2.0-bullseye/Dockerfile)
* [`v1.1.4-bullseye`](https://github.com/ladamalina/janus-gateway/blob/master/v1.1.4-bullseye/Dockerfile), [`v1.1.3-bullseye`](https://github.com/ladamalina/janus-gateway/blob/master/v1.1.3-bullseye/Dockerfile), [`v1.1.2-bullseye`](https://github.com/ladamalina/janus-gateway/blob/master/v1.1.2-bullseye/Dockerfile), [`v1.1.1-bullseye`](https://github.com/ladamalina/janus-gateway/blob/master/v1.1.1-bullseye/Dockerfile), [`v1.1.0-bullseye`](https://github.com/ladamalina/janus-gateway/blob/master/v1.1.0-bullseye/Dockerfile)
* [`v1.0.4-bullseye`](https://github.com/ladamalina/janus-gateway/blob/master/v1.0.4-bullseye/Dockerfile), [`v1.0.3-bullseye`](https://github.com/ladamalina/janus-gateway/blob/master/v1.0.3-bullseye/Dockerfile), [`v1.0.2-bullseye`](https://github.com/ladamalina/janus-gateway/blob/master/v1.0.2-bullseye/Dockerfile)
* [`v0.14.2-bookworm`](https://github.com/ladamalina/janus-gateway/blob/master/v0.14.2-bookworm/Dockerfile), [`v0.14.1-bookworm`](https://github.com/ladamalina/janus-gateway/blob/master/v0.14.1-bookworm/Dockerfile), [`v0.14.1-bullseye`](https://github.com/ladamalina/janus-gateway/blob/master/v0.14.1-bullseye/Dockerfile), [`v0.14.0-bullseye`](https://github.com/ladamalina/janus-gateway/blob/master/v0.14.0-bullseye/Dockerfile)
Expand Down
71 changes: 71 additions & 0 deletions v1.2.2-ubuntu-24.04/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
FROM ubuntu:24.04

LABEL maintainer="Nadezhda Ryabtsova <[email protected]>"
LABEL description="Provides an image with Janus Gateway"

RUN echo "MIRRORSITE=http://archive.ubuntu.com/ubuntu" >> /etc/pbuilderrc && \
apt-get update && \
apt-get install -y --no-install-recommends \
git \
build-essential \
autoconf \
automake \
autotools-dev \
dh-make \
debhelper \
devscripts \
fakeroot \
xutils \
lintian \
pbuilder \
libconfig-dev \
libmicrohttpd-dev \
libjansson-dev \
libnice-dev \
libssl-dev \
libsrtp2-dev \
libsofia-sip-ua-dev \
libglib2.0-dev \
libopus-dev \
libogg-dev \
pkg-config \
gengetopt \
libtool \
automake \
cmake \
libmicrohttpd-dev \
libjansson-dev \
libcurl4-openssl-dev \
libglib2.0-dev \
libssl-dev \
libopus-dev \
libavutil-dev \
libavcodec-dev \
libavformat-dev \
libwebsockets-dev \
liblua5.3-dev && \
rm -rf /var/lib/apt/lists/*

RUN mkdir -p /usr/src/libsrtp && \
cd /usr/src/libsrtp && \
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 -rf /usr/src/libsrtp

RUN mkdir -p /usr/src/janus /var/janus/janus/log /var/janus/janus/data && \
cd /usr/src/janus && \
wget -c https://github.com/meetecho/janus-gateway/archive/v1.2.2.tar.gz && \
tar -xzf v1.2.2.tar.gz && \
cd janus-gateway-1.2.2 && \
sh autogen.sh && \
./configure --prefix=/var/janus/janus --enable-post-processing --disable-rabbitmq --disable-data-channels --disable-aes-gcm && \
make && make install && make configs && \
rm -rf /usr/src/janus

EXPOSE 8088/tcp 8188/tcp 8188/udp

CMD ["/var/janus/janus/bin/janus", "--nat-1-1=${DOCKER_IP}"]