Skip to content

Commit 84b6575

Browse files
committed
fix arg
1 parent 347e1bd commit 84b6575

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22

33
FROM ghcr.io/linuxserver/baseimage-alpine:3.17 as buildstage
44

5-
ARG MOD_VERSION=master
5+
ARG MOD_VERSION
66

77
RUN \
88
echo "**** grab rffmpeg ****" && \
99
mkdir -p /root-layer/usr/local/bin/ && \
10+
MOD_VERSION=${MOD_VERSION:-master} && \
1011
curl -fo \
1112
/root-layer/usr/local/bin/rffmpeg -L \
1213
"https://raw.githubusercontent.com/joshuaboniface/rffmpeg/${MOD_VERSION}/rffmpeg" && \

0 commit comments

Comments
 (0)