Skip to content

Commit 5ccf2ce

Browse files
committed
fix: improve perf when cloning yay
1 parent 45b7125 commit 5ccf2ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ RUN \
4141
chmod 0440 /etc/sudoers.d/user && \
4242
# Install yay
4343
pushd "$USR_HOME" && \
44-
su "$USR" -c "git clone https://aur.archlinux.org/yay.git" && \
44+
su "$USR" -c "git clone --depth=1 https://aur.archlinux.org/yay.git" && \
4545
pushd yay && \
4646
su "$USR" -c "makepkg -si --noconfirm" && \
4747
popd && \

0 commit comments

Comments
 (0)