-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
82 lines (71 loc) · 2.39 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
ARG START_DOCKER=false
FROM ghcr.io/linuxserver/baseimage-kasmvnc:ubuntunoble
ARG DEBIAN_FRONTEND="noninteractive"
ENV TITLE="XPipe Webtop"
ARG XPIPE_VERSION
ARG XPIPE_REPOSITORY
ARG XPIPE_PACKAGE
# prevent Ubuntu's firefox stub from being installed
COPY /root/etc/apt/preferences.d/firefox-no-snap /etc/apt/preferences.d/firefox-no-snap
RUN echo "**** install packages ****" && \
add-apt-repository -y ppa:mozillateam/ppa && \
apt-get update && \
DEBIAN_FRONTEND=noninteractive \
apt-get install --no-install-recommends -y \
dolphin \
firefox \
gwenview \
kde-config-gtk-style \
kdialog \
kio-extras \
konsole \
kubuntu-settings-desktop \
kwin-x11 \
kwrite \
wget \
git \
plasma-desktop \
plasma-workspace \
plymouth-theme-kubuntu-logo \
qml-module-qt-labs-platform \
alacritty \
kitty \
tilix \
kate \
gedit \
terminator \
systemsettings && \
apt-get remove -y plasma-welcome && \
apt-get autoclean && \
rm -rf \
/config/.cache \
/config/.launchpadlib \
/var/lib/apt/lists/* \
/var/tmp/* \
/tmp/*
RUN echo "**** VsCode ****" && \
wget -O vscode.deb "https://go.microsoft.com/fwlink/?LinkID=760868" && \
DEBIAN_FRONTEND=noninteractive \
apt-get update && \
apt-get install --no-install-recommends -y "./vscode.deb" && \
rm "./vscode.deb"
# add local files
COPY /root /
# ports and volumes
VOLUME /config
RUN \
echo "**** add icon ****" && \
curl -L -o \
/kclient/public/icon.png \
https://rawcdn.githack.com/xpipe-io/xpipe/a097ae7a41131fa358b5343345557ad00a45c309/dist/logo/logo.png
RUN echo "**** XPipe ****" && \
wget "https://github.com/$XPIPE_REPOSITORY/releases/download/$XPIPE_VERSION/xpipe-installer-linux-x86_64.deb" && \
DEBIAN_FRONTEND=noninteractive \
apt-get update && \
apt-get install --no-install-recommends -y "./xpipe-installer-linux-x86_64.deb" && \
rm "./xpipe-installer-linux-x86_64.deb"
RUN mkdir -p "/config/.config/kdedefaults/autostart/" && ln -s "/usr/share/applications/$XPIPE_PACKAGE.desktop" "/config/.config/kdedefaults/autostart/$XPIPE_PACKAGE.desktop"
RUN echo "**** kde tweaks ****" && \
sed -i \
"s/applications:org.kde.discover.desktop,/applications:org.kde.konsole.desktop,/g;s#preferred://browser#preferred://browser,applications:$XPIPE_PACKAGE.desktop#g" \
/usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/config/main.xml