add libdatachannel lib.
Some checks failed
Deploy Docker Images / Build dockerfile and Server deploy (push) Has been cancelled

This commit is contained in:
amass 2025-01-11 22:43:01 +08:00
parent 7554691cfd
commit 992dd3a556

View File

@ -116,6 +116,14 @@ RUN cd /root \
&& cmake --install build \ && cmake --install build \
&& rm -fr /root/wt-${WT_VERSION}* && 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 \ RUN cd /root \
&& wget https://github.com/libjpeg-turbo/libjpeg-turbo/releases/download/3.1.0/libjpeg-turbo-3.1.0.tar.gz \ && 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 \ && tar xvf libjpeg-turbo-3.1.0.tar.gz \