Skip to content

Commit

Permalink
Fixes app mountpoint with root rights (preventing container copy)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaymoulin committed Dec 2, 2021
1 parent 4f55aff commit 142f137
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ COPY qemu-arm-static /usr/bin/
FROM builder

ARG ARCH=armhf
ARG VERSION="2.0.0"
ARG VERSION="2.0.1"
LABEL maintainer="Jay MOULIN <https://jaymoulin.me/me/docker-jdownloader> <https://twitter.com/MoulinJay>"
LABEL version="${VERSION}-${ARCH}"
ENV LD_LIBRARY_PATH=/lib;/lib32;/usr/lib
Expand All @@ -20,7 +20,8 @@ ENV UMASK=''
COPY ./${ARCH}/*.jar /opt/JDownloader/libs/
# archive extraction uses sevenzipjbinding library
# which is compiled against libstdc++
RUN apk add --update libstdc++ ffmpeg wget && \
RUN mkdir -p /opt/JDownloader/app && \
apk add --update libstdc++ ffmpeg wget && \
wget -O /opt/JDownloader/JDownloader.jar "http://installer.jdownloader.org/JDownloader.jar?$RANDOM" && \
chmod 777 /opt/JDownloader/ -R && \
apk del wget --purge && \
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION ?= 2.0.0
VERSION ?= 2.0.1
CACHE ?= --no-cache=1
FULLVERSION ?= ${VERSION}
archs ?= amd64 arm32v6 armhf arm64v8
Expand Down
5 changes: 3 additions & 2 deletions debian.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ COPY qemu-aarch64-static /usr/bin/
FROM builder

ARG ARCH=armel
ARG VERSION="2.0.0"
ARG VERSION="2.0.1"
LABEL maintainer="Jay MOULIN <https://jaymoulin.me/me/docker-jdownloader> <https://twitter.com/MoulinJay>"
LABEL version="${VERSION}-${ARCH}"

Expand All @@ -15,7 +15,8 @@ ENV XDG_DOWNLOAD_DIR=/opt/JDownloader/Downloads

# archive extraction uses sevenzipjbinding library
# which is compiled against libstdc++
RUN apt-get update && \
RUN mkdir -p /opt/JDownloader/app/ && \
apt-get update && \
apt-get install openjdk-8-jre ffmpeg wget -y && \
wget -O /opt/JDownloader/JDownloader.jar "http://installer.jdownloader.org/JDownloader.jar?$RANDOM" && \
chmod 777 /opt/JDownloader/ -R && \
Expand Down

0 comments on commit 142f137

Please sign in to comment.