1
0
mirror of https://github.com/rancher/os.git synced 2025-09-21 10:32:10 +00:00
Files
os/scripts/dockerimages/06-console

9 lines
374 B
Plaintext
Raw Normal View History

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