Skip to content

Commit fe4296e

Browse files
authored
kwin-x11
1 parent 406d90f commit fe4296e

File tree

1 file changed

+17
-10
lines changed

1 file changed

+17
-10
lines changed

desktop/arch/kde/Dockerfile

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -59,16 +59,6 @@ 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-
# 同步包数据库并安装软件包
63-
RUN pacman -Syyu --noconfirm \
64-
&& pacman -Sy --noconfirm \
65-
git base-devel sudo yay sshpass \
66-
vim htop iotop iftop fuse2 \
67-
iputils net-tools dnsutils \
68-
npm maven bash-completion unarchiver \
69-
ark dolphin-plugins \
70-
&& pacman -Scc --noconfirm \
71-
&& rm -rf /var/cache/pacman/pkg/*
7262
# 安装wps
7363
RUN (mkdir -p /tmp/build && cd /tmp/build \
7464
&& git clone https://aur.archlinux.org/wps-office-cn.git \
@@ -84,6 +74,23 @@ RUN (mkdir -p /tmp/build && cd /tmp/build \
8474
&& pacman -Scc --noconfirm \
8575
&& rm -rf /var/cache/pacman/pkg/*
8676

77+
# 更新
78+
RUN pacman -Syyu --noconfirm \
79+
&& pacman -Sy --noconfirm \
80+
&& pacman -Scc --noconfirm \
81+
&& rm -rf /var/cache/pacman/pkg/*
82+
83+
# 安装软件包
84+
RUN pacman -Syyu --noconfirm \
85+
&& pacman -Sy --noconfirm \
86+
git base-devel sudo yay sshpass \
87+
vim htop iotop iftop fuse2 \
88+
iputils net-tools dnsutils \
89+
npm maven bash-completion unarchiver \
90+
ark dolphin-plugins kwin-x11 \
91+
&& pacman -Scc --noconfirm \
92+
&& rm -rf /var/cache/pacman/pkg/*
93+
8794
# 设置 Arch Linux 镜像源
8895
RUN echo "Server = https://mirrors.aliyun.com/archlinux/\$repo/os/\$arch" > /etc/pacman.d/mirrorlist && \
8996
echo "Server = https://mirrors.tuna.tsinghua.edu.cn/archlinux/\$repo/os/\$arch" >> /etc/pacman.d/mirrorlist && \

0 commit comments

Comments
 (0)