initialize git defaultBranch

This commit is contained in:
Cory Sanin 2025-01-14 03:28:56 -05:00
parent 91f5db40cd
commit 018610ea47
2 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,7 @@ ARG MIRROR=https://mirror.sanin.dev/arch-linux/\$repo/os/\$arch
RUN sed -i "1iServer = $MIRROR" /etc/pacman.d/mirrorlist && \
pacman -Syu --noconfirm git clang sudo devtools vim bash-completion && \
git config --global init.defaultBranch "master" && \
chmod +x /scripts/* && \
useradd -m user && \
echo "user:pass-$RANDOM" | chpasswd && \

View File

@ -7,6 +7,7 @@ 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 && \
git config --global init.defaultBranch "master" && \
chmod +x /scripts/* && \
useradd -m user && \
echo "user:pass-$RANDOM" | chpasswd && \