This commit is contained in:
PlusMinus 2015-08-17 15:24:37 +02:00
parent 22e18dbf50
commit d8a4bf8401

View file

@ -3,9 +3,12 @@ FROM java:jre
MAINTAINER PlusMinus <piddlpiddl@gmail.com>
# Create directory, downloader JD" and start JD2 for the initial update and creation of config files.
RUN \
mkdir /opt/JDownloader/ && \
wget -O /opt/JDownloader/JDownloader.jar --progress=bar:force http://installer.jdownloader.org/JDownloader.jar && \
java -Djava.awt.headless=true -jar /opt/JDownloader/JDownloader.jar
# Run this when the container is started
CMD java -Djava.awt.headless=true -jar /opt/JDownloader/JDownloader.jar