mirror of
https://git.netzspielplatz.de/docker-multiarch/jdownloader2-headless.git
synced 2025-11-08 20:29:30 +00:00
Added ffmpeg, added inf loop so jd2 can be updated from within the webapp, added beta 7zipbinding
This commit is contained in:
parent
6c4b3fcbc0
commit
371c74b08a
4 changed files with 11 additions and 3 deletions
|
|
@ -6,10 +6,13 @@ MAINTAINER PlusMinus <piddlpiddl@gmail.com>
|
||||||
# Create directory, 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 \
|
RUN \
|
||||||
apk add --no-cache --quiet tini su-exec bash && \
|
apk add --no-cache --quiet tini su-exec bash && \
|
||||||
mkdir -p /opt/JDownloader/ && \
|
mkdir -p /opt/JDownloader/libs && \
|
||||||
wget -O /opt/JDownloader/JDownloader.jar --user-agent="https://hub.docker.com/r/plusminus/jdownloader2-headless/" http://installer.jdownloader.org/JDownloader.jar && \
|
wget -O /opt/JDownloader/JDownloader.jar --user-agent="https://hub.docker.com/r/plusminus/jdownloader2-headless/" 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 && \
|
||||||
|
apk add --update ffmpeg
|
||||||
|
|
||||||
|
# Beta sevenzipbindings
|
||||||
|
COPY sevenzip* /opt/JDownloader/
|
||||||
|
|
||||||
COPY startJD2.sh /opt/JDownloader/
|
COPY startJD2.sh /opt/JDownloader/
|
||||||
RUN chmod +x /opt/JDownloader/startJD2.sh
|
RUN chmod +x /opt/JDownloader/startJD2.sh
|
||||||
|
|
|
||||||
BIN
sevenzipjbinding1509.jar
Normal file
BIN
sevenzipjbinding1509.jar
Normal file
Binary file not shown.
BIN
sevenzipjbinding1509Linux.jar
Normal file
BIN
sevenzipjbinding1509Linux.jar
Normal file
Binary file not shown.
|
|
@ -19,5 +19,10 @@ fi
|
||||||
adduser -G $GROUP $USER
|
adduser -G $GROUP $USER
|
||||||
chown -R $USER:$GROUP /opt/JDownloader
|
chown -R $USER:$GROUP /opt/JDownloader
|
||||||
|
|
||||||
exec su-exec ${USER}:${GROUP} "$@"
|
# Sometimes this gets deleted. Just copy it every time.
|
||||||
|
cp /opt/JDownloader/sevenzip* /opt/JDownloader/libs/
|
||||||
|
|
||||||
|
su-exec ${USER}:${GROUP} "$@"
|
||||||
|
|
||||||
|
# Keep container alive when jd2 restarts
|
||||||
|
while sleep 3600; do :; done
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue