mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-07-01 06:35:38 +00:00
boinc: use entrypoint
This commit is contained in:
@ -39,4 +39,4 @@ RUN chmod +x /usr/local/bin/run.sh
|
||||
|
||||
VOLUME /boinc
|
||||
|
||||
CMD ["run.sh"]
|
||||
ENTRYPOINT ["run.sh"]
|
||||
|
@ -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 $@
|
||||
|
Reference in New Issue
Block a user