From 992dd3a556c536e7c97729ffa56a200d95549da3 Mon Sep 17 00:00:00 2001 From: amass Date: Sat, 11 Jan 2025 22:43:01 +0800 Subject: [PATCH] add libdatachannel lib. --- Dockerfiles/ubuntu2404.dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Dockerfiles/ubuntu2404.dockerfile b/Dockerfiles/ubuntu2404.dockerfile index 0f87af8..ddd2bd7 100644 --- a/Dockerfiles/ubuntu2404.dockerfile +++ b/Dockerfiles/ubuntu2404.dockerfile @@ -116,6 +116,14 @@ RUN cd /root \ && cmake --install build \ && rm -fr /root/wt-${WT_VERSION}* +RUN cd /root \ + && git clone --recursive --depth 1 -b v0.22.3 https://github.com/paullouisageneau/libdatachannel.git \ + && cd libdatachannel \ + && cmake -G Ninja -B build -S . -DUSE_GNUTLS=0 -DUSE_NICE=0 -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/opt/Libraries/libdatachannel-0.22.3 \ + && cmake --build build --target all \ + && cmake --install build \ + && rm -fr /root/libdatachannel-0.22.3* + RUN cd /root \ && wget https://github.com/libjpeg-turbo/libjpeg-turbo/releases/download/3.1.0/libjpeg-turbo-3.1.0.tar.gz \ && tar xvf libjpeg-turbo-3.1.0.tar.gz \