distro-dev/arch/Dockerfile
2025-05-24 13:27:43 +02:00

29 lines
968 B
Docker

FROM archlinux:latest
RUN pacman -Sy && pacman -S --noconfirm --needed curl zsh fzf zoxide unzip sudo git make stow fastfetch cowsay
COPY ./.src/colorscript.sh .
COPY ./.src/neovim.sh .
COPY ./.src/omp.sh .
# COPY ./.src/zellij.sh .
RUN bash ./omp.sh -d /bin && rm ./omp.sh
# RUN bash neovim.sh -s && rm neovim.sh
# RUN bash zellij.sh -s && rm zellij.sh
# RUN bash colorscript.sh -s && rm colorscript.sh
RUN curl -o neovim.sh -fsSL https://git.k4li.de/scripts/installs/raw/branch/main/neovim.sh
RUN curl -o colorscript.sh -fsSL https://git.k4li.de/scripts/installs/raw/branch/main/colorscript.sh
RUN bash ./neovim.sh -s
RUN bash ./colorscript.sh
RUN useradd -m -G wheel -r -s /usr/bin/zsh archlinux
RUN echo "archlinux ALL=(ALL:ALL) NOPASSWD:ALL" >> /etc/sudoers
USER archlinux
WORKDIR /home/archlinux
COPY ./.src/setup.sh /bin/setup
RUN git clone --recursive --depth=1 https://git.k4li.de/dotfiles/minimal.git /home/archlinux/dotfiles
ENTRYPOINT /usr/bin/zsh