Skip to content

Commit

Permalink
ci: add dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
datagutt committed Nov 16, 2024
1 parent acfcddf commit b60e9b8
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
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


WORKDIR /belacoder
COPY . .

RUN mkdir /bela-out
RUN make -j
RUN make DESTDIR=/bela-out

FROM scratch AS export
COPY --from=build /bela-out /

0 comments on commit b60e9b8

Please sign in to comment.