initial commit

This commit is contained in:
2025-01-08 00:59:40 -05:00
commit e266f84da7
7 changed files with 161 additions and 0 deletions

17
docker/Dockerfile.arch Normal file
View File

@@ -0,0 +1,17 @@
FROM archlinux/archlinux:base-devel
COPY scripts/entrypoint.sh /scripts/entrypoint.sh
COPY scripts/testing.arch.sh /scripts/testing.sh
RUN sed -i '1iServer = https://mirror.sanin.dev/arch-linux/\$repo/os/\$arch' /etc/pacman.d/mirrorlist && \
pacman -Syu --noconfirm git clang sudo devtools vim bash-completion && \
chmod +x /scripts/* && \
useradd -m user && \
echo "user:pass-$RANDOM" | chpasswd && \
echo 'user ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
USER user
WORKDIR /home/user/
CMD [ "/scripts/entrypoint.sh" ]