add packages

This commit is contained in:
Simon Baier 2018-06-27 22:39:09 +02:00
parent 29f0ebaa0f
commit 8461de8fe8

View file

@ -5,6 +5,7 @@ MAINTAINER PlusMinus <piddlpiddl@gmail.com>
# Create directory, and start JD2 for the initial update and creation of config files. # Create directory, and start JD2 for the initial update and creation of config files.
RUN \ RUN \
apk add --no-cache --quiet tini su-exec bash && \
mkdir -p /opt/JDownloader/ && \ mkdir -p /opt/JDownloader/ && \
wget -O /opt/JDownloader/JDownloader.jar --user-agent="https://hub.docker.com/r/plusminus/jdownloader2-headless/" --progress=bar:force http://installer.jdownloader.org/JDownloader.jar && \ wget -O /opt/JDownloader/JDownloader.jar --user-agent="https://hub.docker.com/r/plusminus/jdownloader2-headless/" --progress=bar:force http://installer.jdownloader.org/JDownloader.jar && \
java -Djava.awt.headless=true -jar /opt/JDownloader/JDownloader.jar java -Djava.awt.headless=true -jar /opt/JDownloader/JDownloader.jar