mirror of
https://git.netzspielplatz.de/docker-multiarch/jdownloader2-headless.git
synced 2025-11-08 20:39:31 +00:00
adjust to upstream codebase
This commit is contained in:
parent
3df21d4382
commit
29f0ebaa0f
2 changed files with 5 additions and 17 deletions
|
|
@ -1,9 +1,9 @@
|
|||
FROM openjdk:8-jre
|
||||
FROM openjdk:8-jre-alpine
|
||||
|
||||
MAINTAINER PlusMinus <piddlpiddl@gmail.com>
|
||||
|
||||
|
||||
# Create directory, downloader JD" 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 \
|
||||
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 && \
|
||||
|
|
@ -14,5 +14,6 @@ COPY startJD2.sh /opt/JDownloader/
|
|||
RUN chmod +x /opt/JDownloader/startJD2.sh
|
||||
|
||||
|
||||
ENTRYPOINT ["/sbin/tini", "-g", "--", "/opt/JDownloader/startJD2.sh"]
|
||||
# Run this when the container is started
|
||||
CMD /opt/JDownloader/startJD2.sh
|
||||
CMD ["java", "-Djava.awt.headless=true", "-jar", "/opt/JDownloader/JDownloader.jar"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue