Fix permissions rc

This commit is contained in:
2018-10-28 16:26:20 +01:00
parent 8321d95788
commit 749f44dcd7
3 changed files with 20 additions and 14 deletions

View File

@@ -9,8 +9,13 @@ RUN chown executor:executor /data
RUN echo "* * * * * /usr/local/bin/cron-command" >> /etc/crontabs/root
RUN apk del shadow
ADD dockerbin/* checker/* src/* /usr/local/bin/
ADD executor-conf /etc/init.d
RUN rc-update add executor-conf default
# remove tty autospawn from inittab
RUN sed 's/^tty.*$//g' -i /etc/inittab
# disable motd
RUN echo > /etc/motd
CMD [ "/sbin/init" ]