-
-
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.
Merge remote-tracking branch 'origin/feature-13'
- Loading branch information
Showing
3 changed files
with
8 additions
and
8 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 |
---|---|---|
|
@@ -6,19 +6,21 @@ COPY qemu-arm-static /usr/bin/ | |
FROM builder | ||
|
||
ARG ARCH=armhf | ||
ARG VERSION="0.5.1" | ||
ARG VERSION="0.6.0" | ||
LABEL maintainer="Jay MOULIN <[email protected]> <https://twitter.com/MoulinJay>" | ||
LABEL version="${VERSION}" | ||
|
||
COPY ./${ARCH}/*.jar /opt/JDownloader/libs/ | ||
# archive extraction uses sevenzipjbinding library | ||
# which is compiled against libstdc++ | ||
RUN mkdir -p /opt/JDownloader/ && \ | ||
apk add --update libstdc++ ffmpeg && apk add wget --virtual .build-deps && \ | ||
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.18.0/tini-static-${ARCH}" --no-check-certificate \ | ||
&& chmod +x /usr/bin/tini && \ | ||
wget -O /usr/bin/tini "https://github.com/krallin/tini/releases/download/v0.18.0/tini-static-${ARCH}" --no-check-certificate && \ | ||
chmod +x /usr/bin/tini && \ | ||
chmod 777 /opt/JDownloader/ -R && \ | ||
apk del wget --purge .build-deps && \ | ||
rm /usr/bin/qemu-*-static | ||
ENV LD_LIBRARY_PATH=/lib;/lib32;/usr/lib | ||
|
@@ -27,8 +29,6 @@ COPY daemon.sh /opt/JDownloader/ | |
COPY default-config.json.dist /opt/JDownloader/org.jdownloader.api.myjdownloader.MyJDownloaderSettings.json.dist | ||
COPY configure.sh /usr/bin/configure | ||
|
||
VOLUME /root/Downloads | ||
VOLUME /opt/JDownloader/cfg | ||
WORKDIR /opt/JDownloader | ||
|
||
CMD ["tini", "--", "/opt/JDownloader/daemon.sh"] |
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
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