initialize git defaultBranch
This commit is contained in:
parent
91f5db40cd
commit
018610ea47
@ -7,6 +7,7 @@ ARG MIRROR=https://mirror.sanin.dev/arch-linux/\$repo/os/\$arch
|
|||||||
|
|
||||||
RUN sed -i "1iServer = $MIRROR" /etc/pacman.d/mirrorlist && \
|
RUN sed -i "1iServer = $MIRROR" /etc/pacman.d/mirrorlist && \
|
||||||
pacman -Syu --noconfirm git clang sudo devtools vim bash-completion && \
|
pacman -Syu --noconfirm git clang sudo devtools vim bash-completion && \
|
||||||
|
git config --global init.defaultBranch "master" && \
|
||||||
chmod +x /scripts/* && \
|
chmod +x /scripts/* && \
|
||||||
useradd -m user && \
|
useradd -m user && \
|
||||||
echo "user:pass-$RANDOM" | chpasswd && \
|
echo "user:pass-$RANDOM" | chpasswd && \
|
||||||
|
@ -7,6 +7,7 @@ ARG MIRROR=https://mirror.sanin.dev/artix-linux/\$repo/os/\$arch
|
|||||||
|
|
||||||
RUN sed -i "1iServer = $MIRROR" /etc/pacman.d/mirrorlist && \
|
RUN sed -i "1iServer = $MIRROR" /etc/pacman.d/mirrorlist && \
|
||||||
pacman -Syu --noconfirm git clang sudo vim glibc openssh bash-completion && \
|
pacman -Syu --noconfirm git clang sudo vim glibc openssh bash-completion && \
|
||||||
|
git config --global init.defaultBranch "master" && \
|
||||||
chmod +x /scripts/* && \
|
chmod +x /scripts/* && \
|
||||||
useradd -m user && \
|
useradd -m user && \
|
||||||
echo "user:pass-$RANDOM" | chpasswd && \
|
echo "user:pass-$RANDOM" | chpasswd && \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user