Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
datagutt authored Mar 25, 2024
1 parent 04d7001 commit cf756bf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# alpine 3.18 is required unless we upgrade spdlog in irl-srt-server
FROM alpine:3.18 as builder

RUN apk update &&\
Expand All @@ -17,7 +18,7 @@ RUN mkdir -p /build; \
make -j${nproc}; \
make install;

# belabox srtla
# belabox patched srtla
#
ARG SRTLA_VERSION=main
RUN mkdir -p /build; \
Expand All @@ -27,9 +28,12 @@ RUN mkdir -p /build; \
make -j${nproc};

RUN cp /build/srtla/srtla_rec /build/srtla/srtla_send /usr/local/bin
# I honestly don't know why this is needed after rebasing with mainstream SRT
RUN cp /build/srt/srtcore/srt_compat.h /usr/local/include/srt/

ENV LD_LIBRARY_PATH /lib:/usr/lib:/usr/local/lib64
ARG SRT_LIVE_SERVER_VERSION=master
# use custom irl srt server from irlserver
RUN set -xe; \
mkdir -p /build; \
git clone https://github.com/IRLServer/irl-srt-server.git /build/srt-live-server; \
Expand Down

0 comments on commit cf756bf

Please sign in to comment.