docker/Dockerfile

25 lines
462 B
Docker

FROM ubuntu:latest
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
git \
build-essential \
cmake \
pkg-config \
libssl-dev \
libcurl4-openssl-dev \
libtool \
m4 \
automake \
libjson-c-dev \
&& rm -rf /var/lib/apt/lists/*
RUN git clone https://github.com/Haivision/srt.git /opt/srt
WORKDIR /opt/srt
RUN ./configure && make && make install
RUN ldconfig
RUN rm -rf /opt/srt
CMD ["bash"]