modified: Dockerfile

Added java and unzip
This commit is contained in:
Jonny Ervine 2020-02-19 09:07:17 +00:00
parent 36ad5b8aa2
commit dbb5d29095

View File

@ -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