add nzbget

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
Jess Frazelle 2018-07-14 18:05:06 -04:00
parent 8e47167638
commit 387a31d9f1
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3
2 changed files with 29 additions and 0 deletions

View File

@ -109,6 +109,7 @@ cryptodotis/irssi-otr
keepassxreboot/keepassxc keepassxreboot/keepassxc
robertdavidgraham/masscan robertdavidgraham/masscan
zyedidia/micro zyedidia/micro
nzbget/nzbget
bitly/oauth2_proxy bitly/oauth2_proxy
Tautulli/Tautulli Tautulli/Tautulli
perkeep/perkeep perkeep/perkeep

28
nzbget/Dockerfile Normal file
View File

@ -0,0 +1,28 @@
FROM python:2-alpine
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
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" ]