Initial commit
This commit is contained in:
8
Containerfile
Normal file
8
Containerfile
Normal file
@@ -0,0 +1,8 @@
|
||||
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"]
|
||||
Reference in New Issue
Block a user