Skip to content

Commit

Permalink
fix #127 - adds reboot and pkill commands to restart jdown instance a…
Browse files Browse the repository at this point in the history
…fter configure
  • Loading branch information
jaymoulin committed Aug 30, 2023
1 parent 56e9836 commit 19c29af
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ COPY ./${ARCH}/*.jar /opt/JDownloader/libs/
# archive extraction uses sevenzipjbinding library
# which is compiled against libstdc++
RUN mkdir -p /opt/JDownloader/app && \
apk add --update libstdc++ ffmpeg wget && \
apk add --update libstdc++ ffmpeg wget procps && \
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
Expand Up @@ -24,7 +24,7 @@ build: qemu-arm-static qemu-aarch64-static
image=bellsoft\\/liberica-openjdk-alpine:10.0.2-armv7l; \
else \
archi=arm64; \
image=bellsoft\\/liberica-openjdk-debian:11.0.12-aarch64; \
image=bellsoft\\/liberica-openjdk-debian:11.0.20-aarch64; \
FILE=debian.Dockerfile; \
fi; \
cat $$FILE | sed "s/FROM openjdk:jre-alpine/FROM $$image/g" > .Dockerfile; \
Expand Down
2 changes: 1 addition & 1 deletion debian.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ENV XDG_DOWNLOAD_DIR=/opt/JDownloader/Downloads
# which is compiled against libstdc++
RUN mkdir -p /opt/JDownloader/app/ && \
apt-get update && \
apt-get install ffmpeg wget -y && \
apt-get install ffmpeg wget procps -y && \
(java -version || apt-get install openjdk-8-jre) && \
wget -O /opt/JDownloader/JDownloader.jar "http://installer.jdownloader.org/JDownloader.jar?$RANDOM" && \
chmod 777 /opt/JDownloader/ -R && \
Expand Down

0 comments on commit 19c29af

Please sign in to comment.