Machine bootstrapping tool with a focus on sensible defaults, conventions, and avoidance of vendoring - This is a mirror
at main 16 lines 398 B view raw
1FROM archlinux:base 2 3RUN pacman --noconfirm -Syu && pacman --noconfirm -S ruby ruby-stdlib openssh zsh expat sudo 4 5RUN useradd -m -s /bin/bash -G wheel mstrap 6RUN echo 'mstrap ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers 7 8USER mstrap 9ENV HOME=/home/mstrap 10WORKDIR /home/mstrap 11 12RUN mkdir -p $HOME/.mstrap 13ADD --chown=mstrap --chmod=600 config.hcl $HOME/.mstrap/ 14ADD test.sh test.sh 15 16CMD [ "./test.sh" ]