Skip to content

Commit

Permalink
ci: change build process
Browse files Browse the repository at this point in the history
  • Loading branch information
datagutt committed Nov 16, 2024
1 parent 8585318 commit b721679
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@ FROM ubuntu:latest AS build
ENV DEBIAN_FRONTEND=noninteractive
RUN apt update && apt install build-essential git libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev cmake make wget xz-utils git build-essential libssl-dev openssl -y

RUN git clone https://github.com/irlserver/srt.git
RUN cd srt

RUN mkdir /out
RUN cmake -DCMAKE_INSTALL_PREFIX=/usr ./srt
RUN make -j
RUN make DESTDIR=/out install

# belabox patched srt
#
RUN mkdir -p /build; \
git clone https://github.com/IRLServer/srt.git /build/srt; \
cd /build/srt; \
git checkout belabox; \
cmake -DCMAKE_INSTALL_PREFIX=/usr /build/srt; \
./configure; \
make -j${nproc}; \
make install;

WORKDIR /belacoder
COPY . .
Expand Down

0 comments on commit b721679

Please sign in to comment.