jdownloader2-headless/Dockerfile
PlusMinus 5e0f5ecc3b Some changes as suggested by JD's Jiaz:
- Send another user agent with wget
 - Strip down needed information for my.jdownloader settings file
2015-08-17 16:30:01 +02:00

14 lines
573 B
Docker

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 --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
# Run this when the container is started
CMD java -Djava.awt.headless=true -jar /opt/JDownloader/JDownloader.jar