Merge pull request #32 from PlusMinus0/dev

Fix /tmp issue
This commit is contained in:
PlusMinus0 2018-12-05 12:24:08 +01:00 committed by GitHub
commit 78b60b8224
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 3 deletions

View file

@ -8,11 +8,10 @@ RUN apt-get update && apt-get dist-upgrade -yqq && \
mkdir -p /opt/JDownloader/libs && \
wget -O /opt/JDownloader/JDownloader.jar --user-agent="https://hub.docker.com/r/plusminus/jdownloader2-headless/" http://installer.jdownloader.org/JDownloader.jar && \
java -Djava.awt.headless=true -jar /opt/JDownloader/JDownloader.jar && \
mkdir -p /tmp/ && \
mkdir -p /tmp/ && chmod 1777 /tmp &&\
wget -O /tmp/su-exec.tar.gz https://github.com/ncopa/su-exec/archive/v0.2.tar.gz && \
cd /tmp/ && tar -xf su-exec.tar.gz && cd su-exec-0.2 && make && cp su-exec /usr/bin &&\
apt-get purge -yqq wget make gcc && apt-get autoremove -yqq && cd / && rm -rf tmp
apt-get purge -yqq wget make gcc && apt-get autoremove -yqq && cd / && rm -rf /tmp/*
# Beta sevenzipbindings and entrypoint
COPY common/* /opt/JDownloader/
RUN chmod +x /opt/JDownloader/entrypoint.sh

View file

@ -23,6 +23,10 @@ file:
- "0644"
filetype: file
contains: []
/tmp:
exists: true
mode: "1777"
filetype: directory
package:
ffmpeg:
installed: true