Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FROM base/archlinux
- MAINTAINER yantene
- LABEL OBJECT="Simple yantene's sandbox"
- ENTRYPOINT ["/usr/bin/su", "-", "yantene"]
- RUN pacman -Syy
- RUN pacman --noconfirm -S neovim sudo
- RUN useradd -m -g users -G wheel yantene
- RUN echo yantene:'password' | /usr/bin/chpasswd
- RUN echo '%wheel ALL=(ALL)' > /etc/sudoers.d/wheel
- RUN chmod 0440 /etc/sudoers.d/wheel
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement