-
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
24 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
FROM openjdk:jre-alpine as builder | ||
|
||
COPY qemu-*-static /usr/bin/ | ||
COPY qemu-aarch64-static /usr/bin/ | ||
COPY qemu-arm-static /usr/bin/ | ||
|
||
FROM builder | ||
|
||
|
@@ -9,10 +10,12 @@ LABEL maintainer="Jay MOULIN <[email protected]> <https://twitter.com/MoulinJa | |
|
||
# archive extraction uses sevenzipjbinding library | ||
# which is compiled against libstdc++ | ||
RUN mkdir -p /opt/JDownloader/ | ||
RUN apk add --update libstdc++ ffmpeg && apk add wget --virtual .build-deps && \ | ||
wget -O /opt/JDownloader/JDownloader.jar "http://installer.jdownloader.org/JDownloader.jar?$RANDOM" && chmod +x /opt/JDownloader/JDownloader.jar && \ | ||
wget -O /usr/bin/tini "https://github.com/krallin/tini/releases/download/v0.16.1/tini-static-${ARCH}" --no-check-certificate && chmod +x /usr/bin/tini && \ | ||
RUN mkdir -p /opt/JDownloader/ && \ | ||
apk add --update libstdc++ ffmpeg && apk add wget --virtual .build-deps && \ | ||
wget -O /opt/JDownloader/JDownloader.jar "http://installer.jdownloader.org/JDownloader.jar?$RANDOM" && \ | ||
chmod +x /opt/JDownloader/JDownloader.jar && \ | ||
wget -O /usr/bin/tini "https://github.com/krallin/tini/releases/download/v0.16.1/tini-static-${ARCH}" --no-check-certificate \ | ||
&& chmod +x /usr/bin/tini && \ | ||
apk del wget --purge .build-deps && \ | ||
rm /usr/bin/qemu-*-static | ||
ENV LD_LIBRARY_PATH=/lib;/lib32;/usr/lib | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters