mirror of
https://git.netzspielplatz.de/docker-multiarch/jdownloader2-headless.git
synced 2025-11-08 17:09:30 +00:00
switch to alpine 3.13 base image and install openjre manually
This commit is contained in:
parent
e2f81c7ccf
commit
60080ff896
1 changed files with 2 additions and 2 deletions
|
|
@ -1,10 +1,10 @@
|
|||
FROM openjdk:8-jre-alpine
|
||||
FROM alpine:3.13
|
||||
|
||||
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 jq && \
|
||||
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 && \
|
||||
java -Djava.awt.headless=true -jar /opt/JDownloader/JDownloader.jar
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue