Remove tty from inittab
This commit is contained in:
parent
7538875c56
commit
8321d95788
|
@ -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" ]
|
||||
|
|
Loading…
Reference in New Issue
Block a user