Some changes as suggested by JD's Jiaz:

- Send another user agent with wget
 - Strip down needed information for my.jdownloader settings file
This commit is contained in:
PlusMinus 2015-08-17 16:30:01 +02:00
parent d8a4bf8401
commit 5e0f5ecc3b
2 changed files with 2 additions and 20 deletions

View file

@ -6,7 +6,7 @@ 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 && \
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