diff --git a/Dockerfile b/Dockerfile index 23dd975..502bfa3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,14 +16,15 @@ ENV LANG='en_US.UTF-8' \ RUN echo http://dl-4.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories && \ apk update && \ apk -U upgrade && \ - apk -U add python python3 + apk -U add openjdk11-jre-headless unzip python3 RUN echo $VERSION -RUN wget https://github.com/theotherp/nzbhydra2/archive/v$VERSION.tar.gz -O nzbhydra.tar.gz -RUN tar zxvf nzbhydra.tar.gz -RUN mv nzbhydra2-$VERSION nzbhydra -RUN rm -rf nzbhydra.tar.gz -RUN apk del make gcc g++ +RUN wget https://github.com/theotherp/nzbhydra2/releases/download/v$VERSION/nzbhydra2-$VERSION-linux.zip -O nzbhydra.zip +RUN mkdir /nzbhydra +RUN cd /nzbhydra +RUN unzip nzbhydra.zip +RUN chmod 755 nzbhydra2 +RUN rm -rf /nzbhydra.zip RUN rm -rf /tmp/src RUN rm -rf /var/cache/apk/* RUN addgroup -g $MED_GID $MED_GROUP