14 lines
397 B
Text
14 lines
397 B
Text
FROM registry.nulo.in/sutty/haini.sh:root
|
|
|
|
RUN mkdir -p /home && \
|
|
adduser \
|
|
--disabled-password \
|
|
--gecos "" \
|
|
--home /home/suttier \
|
|
suttier && \
|
|
cp /root/.gemrc /home/suttier/.gemrc && \
|
|
cp -r /root/.ssh /home/suttier/.ssh && \
|
|
chown -R suttier:suttier /home/suttier/ && \
|
|
echo "suttier ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
|
|
USER suttier
|
|
|