Initial commit
This commit is contained in:
+28
@@ -0,0 +1,28 @@
|
||||
FROM debian:buster-slim
|
||||
|
||||
LABEL maintainer="Jonathan Ervine <docker@ervine.org>"
|
||||
|
||||
# Set ENV variables
|
||||
ENV LANG='en_US.UTF-8' \
|
||||
LANGUAGE='en_US.UTF-8' \
|
||||
TERM='xterm' \
|
||||
VERSION='2.25.0' \
|
||||
HYDRA_USER='hydra' \
|
||||
HYDRA_UID='1003' \
|
||||
HYDRA_GID='1003'
|
||||
|
||||
# Install updates
|
||||
|
||||
RUN apt update && apt upgrade -y && \
|
||||
apt install unzip git python3 openjdk-11-jre-headless -y && \
|
||||
wget https://github.com/theotherp/nzbhydra2/releases/download/v$VERSION/nzbhydra2-$VERSION-linux.zip -O nzbhydra.zip && \
|
||||
mkdir /nzbhydra && \
|
||||
unzip /nzbhydra.zip -d /nzbhydra && \
|
||||
useradd -u $HYDRA_UID -U -M $HYDRA_USER && \
|
||||
chmod 755 /nzbhydra/nzbhydra2
|
||||
|
||||
EXPOSE 5076
|
||||
VOLUME /config
|
||||
WORKDIR /nzbhydra
|
||||
|
||||
CMD [ "/usr/bin/python3", "nzbhydra2wrapperPy3.py", "--nobrowser", "--datafolder=/config/" ]
|
||||
Reference in New Issue
Block a user