mirror of
https://git.netzspielplatz.de/docker-multiarch/jdownloader2-headless.git
synced 2025-11-08 18:59:29 +00:00
Reset Dockerfile
This commit is contained in:
parent
ffd0eb8927
commit
243384c7b0
1 changed files with 4 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
FROM openjdk:8-jre
|
FROM openjdk:8-jre
|
||||||
|
|
||||||
MAINTAINER GoToFoo <admin@gotofoo.eu>
|
MAINTAINER PlusMinus <piddlpiddl@gmail.com>
|
||||||
|
|
||||||
|
|
||||||
# Create directory, downloader JD" and start JD2 for the initial update and creation of config files.
|
# Create directory, downloader JD" and start JD2 for the initial update and creation of config files.
|
||||||
RUN \
|
RUN \
|
||||||
|
|
@ -8,8 +9,10 @@ RUN \
|
||||||
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
|
||||||
|
|
||||||
|
|
||||||
COPY startJD2.sh /opt/JDownloader/
|
COPY startJD2.sh /opt/JDownloader/
|
||||||
RUN chmod +x /opt/JDownloader/startJD2.sh
|
RUN chmod +x /opt/JDownloader/startJD2.sh
|
||||||
|
|
||||||
|
|
||||||
# Run this when the container is started
|
# Run this when the container is started
|
||||||
CMD /opt/JDownloader/startJD2.sh
|
CMD /opt/JDownloader/startJD2.sh
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue