add tier option

This commit is contained in:
2025-11-12 01:12:18 -05:00
parent 1f454fa656
commit 259f439101
7 changed files with 133 additions and 94 deletions

View File

@@ -1,12 +1,14 @@
FROM artixlinux/artixlinux:base-devel
COPY scripts/entrypoint.sh /scripts/entrypoint.sh
COPY scripts/pacman.conf.artix/* /scripts/pacman.conf/
COPY scripts/pacman.conf.artix/pacman.conf.pl /scripts/pacman.conf.pl
ARG MIRROR=https://mirror.sanin.dev/artix-linux/\$repo/os/\$arch
RUN sed -i "1iServer = $MIRROR" /etc/pacman.d/mirrorlist && \
pacman -Syu --noconfirm git clang sudo vim glibc openssh bash-completion && \
pacman -Scc --noconfirm && \
rm -rf /var/lib/pacman/sync /var/cache/pacman/pkg && \
git config --global init.defaultBranch "master" && \
chmod +x /scripts/* && \
useradd -m user && \