1
0
mirror of https://github.com/rancher/os.git synced 2025-06-23 13:37:03 +00:00
os/scripts/dockerimages/06-console

8 lines
307 B
Plaintext
Raw Normal View History

2015-02-09 04:38:37 +00:00
FROM base
2015-02-19 18:26:59 +00:00
COPY scripts/dockerimages/scripts/console.sh /usr/sbin/
2015-02-20 18:29:17 +00:00
RUN adduser -G sudo -D -h /home/rancher -s /bin/bash rancher && \
sed -i 's/rancher.*/rancher:rixbL64o6zGmY:16486:0:99999:7:::/g' /etc/shadow && \
mkdir -p /home/rancher && \
chmod 2755 /home/rancher
2015-02-19 18:26:59 +00:00
CMD ["/usr/sbin/console.sh"]