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 26, 2023
1 parent 56e9836 commit 0dedfba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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 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 sysvinit -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 0dedfba

Please sign in to comment.