Fix permissions rc
This commit is contained in:
@@ -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" ]
|
||||
|
||||
Reference in New Issue
Block a user