Skip to content

Commit

Permalink
fixes #10 - RAR5 support
Browse files Browse the repository at this point in the history
  • Loading branch information
jaymoulin committed Aug 24, 2018
1 parent 141164e commit 79ff245
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,19 @@ COPY qemu-arm-static /usr/bin/

FROM builder

COPY *.jar /opt/JDownloader/libs/
ARG ARCH=armhf
ARG VERSION="0.5.0"
LABEL maintainer="Jay MOULIN <[email protected]> <https://twitter.com/MoulinJay>"
LABEL version="${VERSION}"

# 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 && \
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 \
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 && \
apk del wget --purge .build-deps && \
rm /usr/bin/qemu-*-static
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION ?= 0.4.5
VERSION ?= 0.5.0
CACHE ?= --no-cache=1
FULLVERSION ?= ${VERSION}
archs ?= amd64 arm32v6 arm64v8 i386
Expand All @@ -22,7 +22,7 @@ build: qemu-arm-static qemu-aarch64-static
image=${arch}\\/openjdk:jre-alpine; \
fi; \
cat Dockerfile | sed "s/FROM openjdk:jre-alpine/FROM $$image/g" > .Dockerfile; \
docker build -t jaymoulin/jdownloader:${VERSION}-$(arch) -f .Dockerfile --build-arg ARCH=$${archi} ${CACHE} .;\
docker build -t jaymoulin/jdownloader:${VERSION}-$(arch) -f .Dockerfile --build-arg ARCH=$${archi} ${CACHE} --build-arg VERSION=${VERSION} .;\
)
publish:
docker push jaymoulin/jdownloader
Expand Down
Binary file added sevenzipjbinding1509.jar
Binary file not shown.
Binary file added sevenzipjbinding1509LinuxArmVersion.jar
Binary file not shown.

0 comments on commit 79ff245

Please sign in to comment.