1
0
mirror of https://github.com/rancher/os.git synced 2025-06-26 06:51:40 +00:00
os/scripts/dockerimages/05-console
2015-02-17 01:18:48 -07:00

7 lines
215 B
Plaintext

FROM base
RUN rm /sbin/poweroff /sbin/reboot /sbin/halt
RUN sed -i '/^root/s!/bin/sh!/bin/bash!' /etc/passwd
RUN echo -e 'RancherOS\n' > /etc/issue
COPY scripts/dockerimages/scripts/console.sh /
CMD ["/console.sh"]