Skip to content

Commit 4a43cf4

Browse files
authored
Update Dockerfile
1 parent f1b1c5d commit 4a43cf4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

desktop/arch/kde/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ LABEL maintainer="thelamer"
99
# title
1010
ENV TITLE="Arch KDE"
1111

12+
# 更新
13+
RUN pacman -Syyu --noconfirm \
14+
&& pacman -Scc --noconfirm \
15+
&& rm -rf /var/cache/pacman/pkg/*
16+
1217
RUN \
1318
echo "**** add icon ****" && \
1419
curl -o \
@@ -59,11 +64,6 @@ RUN echo '[archlinuxcn]' >> /etc/pacman.conf && \
5964
echo 'SigLevel = Never' >> /etc/pacman.conf && \
6065
echo 'Server = https://mirrors.tuna.tsinghua.edu.cn/arch4edu/$arch' >> /etc/pacman.conf
6166

62-
# 更新
63-
RUN pacman -Syyu --noconfirm \
64-
&& pacman -Scc --noconfirm \
65-
&& rm -rf /var/cache/pacman/pkg/*
66-
6767
# 安装基础包
6868
RUN pacman -Sy --noconfirm \
6969
git base-devel sudo yay sshpass \

0 commit comments

Comments
 (0)