Created
February 24, 2022 17:05
-
-
Save iameli/4ce78240dea6937d73dd69d7e9158125 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM ubuntu:20.04 | |
| RUN apt update | |
| RUN DEBIAN_FRONTEND=noninteractive apt install -y cmake build-essential git | |
| RUN git clone -b dtls_srtp_support --depth=1 https://github.com/livepeer/mbedtls.git /build/mbedtls \ | |
| && cd /build/mbedtls \ | |
| && mkdir build \ | |
| && cd build \ | |
| && cmake .. \ | |
| && make install \ | |
| && rm -rf /build/mbedtls | |
| RUN git clone https://github.com/cisco/libsrtp.git /build/libsrtp \ | |
| && cd /build/libsrtp \ | |
| && mkdir build \ | |
| && cd build \ | |
| && cmake .. \ | |
| && make install \ | |
| && rm -rf /build/libsrtp | |
| RUN git clone https://github.com/Haivision/srt.git /build/srt \ | |
| && cd /build/srt \ | |
| && mkdir build \ | |
| && cd build \ | |
| && cmake .. -D USE_ENCLIB=mbedtls -D ENABLE_SHARED=false \ | |
| && make install \ | |
| && rm -rf /build/srt | |
| WORKDIR /build/mist | |
| ADD . . | |
| RUN mkdir build \ | |
| && cd build \ | |
| && cmake -DPERPETUAL=1 .. \ | |
| && make MistController \ | |
| && make \ | |
| && make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment