Added ffmpeg, added inf loop so jd2 can be updated from within the webapp, added beta 7zipbinding

This commit is contained in:
PlusMinus0 2018-08-30 16:15:33 +02:00
parent 6c4b3fcbc0
commit 371c74b08a
4 changed files with 11 additions and 3 deletions

View file

@ -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

Binary file not shown.

Binary file not shown.

View file

@ -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