Files
container/Containerfile

9 lines
297 B
Docker
Raw Normal View History

2026-01-29 22:30:34 +11:00
FROM archlinux
RUN pacman -Sy --noconfirm archlinux-keyring
RUN pacman -Syu --noconfirm base-devel git nvim fish htop
RUN useradd -m -s /usr/bin/fish dev
RUN printf 'dev ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers.d/dev && chmod 0440 /etc/sudoers.d/dev
USER dev
WORKDIR /home/dev
CMD ["/usr/bin/fish"]