From 387a31d9f1553f609665f94ee3b82ba1b5a85704 Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Sat, 14 Jul 2018 18:05:06 -0400 Subject: [PATCH] add nzbget Signed-off-by: Jess Frazelle --- latest-versions.sh | 1 + nzbget/Dockerfile | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 nzbget/Dockerfile diff --git a/latest-versions.sh b/latest-versions.sh index c91a1e4..4b8397d 100755 --- a/latest-versions.sh +++ b/latest-versions.sh @@ -109,6 +109,7 @@ cryptodotis/irssi-otr keepassxreboot/keepassxc robertdavidgraham/masscan zyedidia/micro +nzbget/nzbget bitly/oauth2_proxy Tautulli/Tautulli perkeep/perkeep diff --git a/nzbget/Dockerfile b/nzbget/Dockerfile new file mode 100644 index 0000000..f8de1dc --- /dev/null +++ b/nzbget/Dockerfile @@ -0,0 +1,28 @@ +FROM python:2-alpine +LABEL maintainer "Jessie Frazelle " + +ENV LANG "en_US.UTF-8" +ENV LANGUAGE "en_US.UTF-8" +ENV TERM "xterm" + +RUN apk add --no-cache \ + bash \ + ca-certificates \ + ffmpeg \ + git \ + --repository https://dl-4.alpinelinux.org/alpine/edge/testing + +ENV NZBGET_VERSION 20.0 +RUN wget "https://github.com/nzbget/nzbget/releases/download/v${NZBGET_VERSION}/nzbget-${NZBGET_VERSION}-bin-linux.run" -O /tmp/nzbget.run \ + && bash /tmp/nzbget.run --destdir /opt/nzbget \ + && git clone --depth=1 "https://github.com/clinton-hall/nzbToMedia.git" /opt/nzbget/scripts/nzbToMedia \ + && rm -f /tmp/nzbget.bin + +RUN addgroup -g 666 -S nzbget \ + && adduser -u 666 -SHG nzbget nzbget \ + && mkdir -p /movies /downloads /comics /tvseries \ + && chown -R nzbget:nzbget /movies /downloads /comics /tvseries /opt/nzbget + +USER nzbget + +ENTRYPOINT [ "/opt/nzbget/nzbget", "-s", "-o", "FlushQueue=no", "-o", "OutputMode=loggable", "-c", "/opt/nzbget/nzbget.conf" ]