haini.sh/Containerfile.rootless

14 lines
355 B
Text
Raw Normal View History

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 && \
chown suttier:suttier /home/suttier/.gemrc && \
echo "suttier ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
USER suttier