2021-09-18 18:30:25 +00:00
|
|
|
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 && \
|
2021-09-28 18:42:07 +00:00
|
|
|
cp -r /root/.ssh /home/suttier/.ssh && \
|
|
|
|
chown -R suttier:suttier /home/suttier/ && \
|
2021-09-18 18:30:25 +00:00
|
|
|
echo "suttier ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
|
|
|
|
USER suttier
|
|
|
|
|