Remove tty from inittab
This commit is contained in:
@@ -9,6 +9,8 @@ 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/
|
||||
# remove tty autospawn from inittab
|
||||
RUN sed 's/^tty.*$//g' -i /etc/inittab
|
||||
|
||||
|
||||
CMD [ "/sbin/init" ]
|
||||
|
||||
Reference in New Issue
Block a user