File tree Expand file tree Collapse file tree 1 file changed +45
-1
lines changed
Expand file tree Collapse file tree 1 file changed +45
-1
lines changed Original file line number Diff line number Diff line change 1- FROM lscr .io/linuxserver/webtop :arch-kde
1+ FROM ghcr .io/linuxserver/baseimage-kasmvnc :arch
22
3+ # set version label
4+ ARG BUILD_DATE
5+ ARG VERSION
6+ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
7+ LABEL maintainer="thelamer"
8+
9+ # title
10+ ENV TITLE="Arch KDE"
11+
12+ RUN \
13+ echo "**** add icon ****" && \
14+ curl -o \
15+ /kclient/public/icon.png \
16+ https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/webtop-logo.png && \
17+ echo "**** install packages ****" && \
18+ pacman -Sy --noconfirm --needed \
19+ chromium \
20+ dolphin \
21+ kate \
22+ konsole \
23+ plasma-desktop && \
24+ echo "**** application tweaks ****" && \
25+ sed -i \
26+ 's#^Exec=.*#Exec=/usr/local/bin/wrapped-chromium#g' \
27+ /usr/share/applications/chromium.desktop && \
28+ echo "**** kde tweaks ****" && \
29+ sed -i \
30+ 's/applications:org.kde.discover.desktop,/applications:org.kde.konsole.desktop,/g' \
31+ /usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/config/main.xml && \
32+ echo "**** cleanup ****" && \
33+ rm -rf \
34+ /config/.cache \
35+ /tmp/* \
36+ /var/cache/pacman/pkg/* \
37+ /var/lib/pacman/sync/*
38+
39+ # add local files
40+ COPY /root /
41+
42+ # ports and volumes
43+ EXPOSE 3000
44+
45+ VOLUME /config
46+ # https://github.com/linuxserver/docker-webtop/blob/cb209db0cbc921ab1c5d19795a14d87749a40695/Dockerfile 因上游镜像不再支持kasm,从上有拷贝代码到此.
347LABEL maintainer="Ghostry <ghostry.green@gmail.com>"
448
549# 启用 multilib 仓库
You can’t perform that action at this time.
0 commit comments