change the maintainer var and the wget user agent to reflect the changes

This commit is contained in:
Micha Gläß-Stöcker 2021-09-02 10:05:55 +02:00
parent 60080ff896
commit f3ac658aa0

View file

@ -1,12 +1,12 @@
FROM alpine:3.13
MAINTAINER PlusMinus <piddlpiddl@gmail.com>
MAINTAINER Micha Gläß-Stöcker <micha@glaess.cc>
# Create directory, and start JD2 for the initial update and creation of config files.
RUN apk update && apk upgrade && \
apk add --no-cache --quiet openjdk8-jre tini su-exec shadow ffmpeg jq && \
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/egon0/jdownloader2-headless/" http://installer.jdownloader.org/JDownloader.jar && \
java -Djava.awt.headless=true -jar /opt/JDownloader/JDownloader.jar
# Beta sevenzipbindings and entrypoint