mirror of
https://git.netzspielplatz.de/docker-multiarch/jdownloader2-headless.git
synced 2025-11-08 17:19:32 +00:00
Restructured some things and made 1000:100 the default user. Added debian base image, tests and update README.md
This commit is contained in:
parent
0084476349
commit
e96b9d994f
10 changed files with 126 additions and 54 deletions
19
alpine.Dockerfile
Normal file
19
alpine.Dockerfile
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
FROM openjdk:8-jre-alpine
|
||||
|
||||
MAINTAINER PlusMinus <piddlpiddl@gmail.com>
|
||||
|
||||
# Create directory, and start JD2 for the initial update and creation of config files.
|
||||
RUN apk update && apk upgrade && \
|
||||
apk add --no-cache --quiet tini su-exec shadow ffmpeg && \
|
||||
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 && \
|
||||
java -Djava.awt.headless=true -jar /opt/JDownloader/JDownloader.jar
|
||||
|
||||
# Beta sevenzipbindings and entrypoint
|
||||
COPY common/* /opt/JDownloader/
|
||||
RUN chmod +x /opt/JDownloader/entrypoint.sh
|
||||
|
||||
|
||||
ENTRYPOINT ["tini", "-g", "--", "/opt/JDownloader/entrypoint.sh"]
|
||||
# Run this when the container is started
|
||||
CMD ["java", "-Djava.awt.headless=true", "-jar", "/opt/JDownloader/JDownloader.jar"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue