add coturn
Some checks failed
Deploy Docker Images / Build dockerfile and Server deploy (push) Failing after 2h9m5s

This commit is contained in:
amass 2024-12-19 23:54:10 +08:00
parent a93b2a5eca
commit ec8bcff907

View File

@ -129,6 +129,24 @@ RUN wget https://github.com/pouriyajamshidi/tcping/releases/download/v2.6.0/tcpi
&& tar -xzf /tmp/tcping_Linux.tar.gz -C /usr/bin \ && tar -xzf /tmp/tcping_Linux.tar.gz -C /usr/bin \
&& rm /tmp/tcping_Linux.tar.gz && rm /tmp/tcping_Linux.tar.gz
RUN cd /root \
&& wget https://github.com/libevent/libevent/releases/download/release-2.1.12-stable/libevent-2.1.12-stable.tar.gz \
&& tar -xvf libevent-2.1.12-stable.tar.gz \
&& cd libevent-2.1.12-stable \
&& cmake -G Ninja -B build -S . -DCMAKE_INSTALL_PREFIX=/opt/Libraries/libevent-2.1.12 -DEVENT__LIBRARY_TYPE=STATIC \
&& cmake --build build --target all \
&& cmake --install build \
&& rm -fr /root/libevent-2.1.12*
RUN cd /root \
&& wget https://github.com/coturn/coturn/archive/refs/tags/4.6.3.tar.gz -O coturn-4.6.3.tar.gz \
&& tar xvf coturn-4.6.3.tar.gz \
&& cd coturn-4.6.3 \
&& cmake -G Ninja -B build -S . -DCMAKE_INSTALL_PREFIX=/opt/Libraries/coturn-4.6.3 -DLibevent_DIR=/opt/Libraries/libevent-2.1.12/lib/cmake/libevent \
&& cmake --build build --target all \
&& cmake --install build \
&& rm -fr /root/coturn-4.6.3*
RUN cd /root \ RUN cd /root \
&& git clone --depth=1 --recursive https://github.com/ZLMediaKit/ZLMediaKit.git \ && git clone --depth=1 --recursive https://github.com/ZLMediaKit/ZLMediaKit.git \
&& cd /root/ZLMediaKit \ && cd /root/ZLMediaKit \