From d3f0340479a99eb3c9a4082c0c0b5e81e0b4fc13 Mon Sep 17 00:00:00 2001 From: Nadezhda Ryabtsova Date: Sun, 28 Apr 2024 11:10:28 +0300 Subject: [PATCH 1/4] v1.2.2-ubuntu-24.04 --- Dockerfile | 1 - README.md | 2 +- v1.2.2-ubuntu-24-04/Dockerfile | 70 ++++++++++++++++++++++++++++++++++ 3 files changed, 71 insertions(+), 2 deletions(-) delete mode 120000 Dockerfile create mode 100644 v1.2.2-ubuntu-24-04/Dockerfile diff --git a/Dockerfile b/Dockerfile deleted file mode 120000 index 16d6654..0000000 --- a/Dockerfile +++ /dev/null @@ -1 +0,0 @@ -v1.2.2-bookworm-slim/Dockerfile \ No newline at end of file diff --git a/README.md b/README.md index 942e5e3..2129c9e 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/v1.2.2-ubuntu-24-04/Dockerfile b/v1.2.2-ubuntu-24-04/Dockerfile new file mode 100644 index 0000000..75f9429 --- /dev/null +++ b/v1.2.2-ubuntu-24-04/Dockerfile @@ -0,0 +1,70 @@ +FROM ubuntu:24.04 + +LABEL maintainer="Nadezhda Ryabtsova " +LABEL description="Provides an image with Janus Gateway" + +RUN 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}"] From 47bb73679bfda891b709ab4599dabc763ff0757e Mon Sep 17 00:00:00 2001 From: Nadezhda Ryabtsova Date: Sun, 28 Apr 2024 11:12:27 +0300 Subject: [PATCH 2/4] Fix `Dockerfile` symlink --- {v1.2.2-ubuntu-24-04 => v1.2.2-ubuntu-24.04}/Dockerfile | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {v1.2.2-ubuntu-24-04 => v1.2.2-ubuntu-24.04}/Dockerfile (100%) diff --git a/v1.2.2-ubuntu-24-04/Dockerfile b/v1.2.2-ubuntu-24.04/Dockerfile similarity index 100% rename from v1.2.2-ubuntu-24-04/Dockerfile rename to v1.2.2-ubuntu-24.04/Dockerfile From ade3b89e80eace5e0cd5e95041fc3d28cc4635e9 Mon Sep 17 00:00:00 2001 From: Nadezhda Ryabtsova Date: Sun, 28 Apr 2024 11:13:44 +0300 Subject: [PATCH 3/4] Fix `Dockerfile` symlink --- Dockerfile | 1 + 1 file changed, 1 insertion(+) create mode 120000 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 120000 index 0000000..a1dc7ae --- /dev/null +++ b/Dockerfile @@ -0,0 +1 @@ +v1.2.2-ubuntu-24.04/Dockerfile \ No newline at end of file From 823232dea200504e6b9a49b95bd4196d36980ff1 Mon Sep 17 00:00:00 2001 From: Nadezhda Ryabtsova Date: Sun, 28 Apr 2024 11:49:31 +0300 Subject: [PATCH 4/4] v1.2.2-ubuntu-24.04 --- v1.2.2-ubuntu-24.04/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/v1.2.2-ubuntu-24.04/Dockerfile b/v1.2.2-ubuntu-24.04/Dockerfile index 75f9429..73a44d8 100644 --- a/v1.2.2-ubuntu-24.04/Dockerfile +++ b/v1.2.2-ubuntu-24.04/Dockerfile @@ -3,7 +3,8 @@ FROM ubuntu:24.04 LABEL maintainer="Nadezhda Ryabtsova " LABEL description="Provides an image with Janus Gateway" -RUN apt-get update && \ +RUN echo "MIRRORSITE=http://archive.ubuntu.com/ubuntu" >> /etc/pbuilderrc && \ + apt-get update && \ apt-get install -y --no-install-recommends \ git \ build-essential \