Skip to content

Commit fa7b1ef

Browse files
committed
Add srt nginx version option
1 parent ad9aacf commit fa7b1ef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nginx-rtmp-kmp-module/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ WORKDIR /tmp/build
77

88
ARG NGINX_VERSION=1.21.0
99
ARG SRT_VERSION=v1.5.3
10+
ARG SRT_NGINX_VERSION=master
1011

1112
RUN git clone --branch ${SRT_VERSION} https://github.com/Haivision/srt/ && cd srt && ./configure --ENABLE_AEAD_API_PREVIEW --use-enclib=openssl-evp && make && make install
1213

@@ -24,7 +25,7 @@ COPY nginx-rtmp-kmp-module nginx-rtmp-kmp-module
2425
COPY nginx-mpegts-module nginx-mpegts-module
2526
COPY nginx-mpegts-kmp-module nginx-mpegts-kmp-module
2627
COPY nginx-kmp-cc-module nginx-kmp-cc-module
27-
RUN git clone https://github.com/kaltura/nginx-srt-module
28+
RUN git clone --branch ${SRT_NGINX_VERSION} https://github.com/kaltura/nginx-srt-module
2829
RUN git clone https://github.com/kaltura/nginx-stream-preread-str-module
2930

3031
ARG APP_VERSION=1.0

0 commit comments

Comments
 (0)