boinc: use entrypoint

This commit is contained in:
Wonderfall 2016-09-17 13:11:42 +02:00
parent 9c8f89a41e
commit 4564ce5c06
2 changed files with 2 additions and 2 deletions

View File

@ -39,4 +39,4 @@ RUN chmod +x /usr/local/bin/run.sh
VOLUME /boinc
CMD ["run.sh"]
ENTRYPOINT ["run.sh"]

View File

@ -1,3 +1,3 @@
#!/bin/sh
chown -R $UID:$GID /boinc && cd /boinc
exec su-exec $UID:$GID /sbin/tini -- boinc
exec su-exec $UID:$GID /sbin/tini -- boinc $@