Dockerfile.rtorrent: allow to specify Flood and rTorrent versions

This commit is contained in:
Jesse Chan
2020-12-11 13:48:49 +08:00
parent a971a3cff5
commit 95add1bff6
+5 -2
View File
@@ -1,6 +1,9 @@
FROM jesec/rtorrent as rtorrent
ARG FLOOD_VERSION=latest
ARG RTORRENT_VERSION=latest
FROM jesec/flood
FROM jesec/rtorrent:$RTORRENT_VERSION as rtorrent
FROM jesec/flood:$FLOOD_VERSION as flood
# Install rTorrent
COPY --from=rtorrent /usr/local/bin/rtorrent /usr/local/bin/