Skip to content

Commit 801ddea

Browse files
authored
Update Dockerfile
1 parent eeaca2b commit 801ddea

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

desktop/arch/kde/Dockerfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,13 @@ RUN echo '[archlinuxcn]' >> /etc/pacman.conf && \
5959
echo 'SigLevel = Never' >> /etc/pacman.conf && \
6060
echo 'Server = https://mirrors.tuna.tsinghua.edu.cn/arch4edu/$arch' >> /etc/pacman.conf
6161

62-
# 更新,安装基础包
62+
# 更新
6363
RUN pacman -Syyu --noconfirm \
64-
&& pacman -Sy --noconfirm \
64+
&& pacman -Scc --noconfirm \
65+
&& rm -rf /var/cache/pacman/pkg/*
66+
67+
# 安装基础包
68+
RUN pacman -Sy --noconfirm \
6569
git base-devel sudo yay sshpass \
6670
vim htop iotop iftop fuse2 \
6771
iputils net-tools dnsutils \

0 commit comments

Comments
 (0)