forked from Nublord33/docker-webtop-plus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
77 lines (68 loc) · 2.2 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
FROM ghcr.io/linuxserver/baseimage-kasmvnc:ubuntujammy
# set version label
ARG BUILD_DATE
ARG VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="mollomm1"
ENV TITLE="Ubuntu 22.04 Gnome"
COPY /root/etc/apt/preferences.d/firefox-no-snap /etc/apt/preferences.d/firefox-no-snap
COPY /root/ /
RUN \
echo "**** install packages ****" && \
add-apt-repository -y ppa:mozillateam/ppa && \
apt-get update && \
apt-get install -y \
firefox \
fonts-ubuntu \
gnome-shell \
gnome-shell-* \
dbus-x11 \
gnome-terminal \
gnome-accessibility-themes \
gnome-calculator \
gnome-control-center* \
gnome-desktop3-data \
gnome-initial-setup \
gnome-menus \
gnome-themes-extra* \
gnome-user-docs \
gnome-video-effects \
gnome-tweaks \
gnome-software \
language-pack-en-base \
mesa-utils \
xdg-desktop-portal \
flatpak \
gnome-software \
gnome-software-plugin-flatpak \
yaru-* \
ubuntu-desktop
# you can remove ubuntu-desktop if you dont want the 'bloat'.
RUN \
echo "**** apply fixes ****" && \
for file in $(find /usr -type f -iname "*login1*"); do mv -v $file "$file.back"; done && \
chown abc /defaults/wallpaper.jpg && \
echo "\n# fixes and stuff for gnome and flatpaks\nexport $(dbus-launch)\nexport XDG_CURRENT_DESKTOP=ubuntu:GNOME\nexport XDG_DATA_DIRS=/var/lib/flatpak/exports/share:/config/.local/share/flatpak/exports/share:/usr/local/share:/usr/share\nexport XDG_SESSION_TYPE=x11\nexport DESKTOP_SESSION=ubuntu\nexport GNOME_SHELL_SESSION_MODE=ubuntu" >> /etc/profile && \
mv -v /usr/share/applications/gnome-sound-panel.desktop /usr/share/applications/gnome-sound-panel.desktop.back
RUN \
echo "**** clean stuff ****" && \
apt-get remove -y \
gnome-power-manager \
gnome-bluetooth \
gpaste \
hijra-applet gnome-shell-extension-hijra \
mailnag gnome-shell-mailnag \
xterm \
gnome-software-plugin-snap \
snapd \
gnome-shell-pomodoro gnome-shell-pomodoro-data && \
apt autoremove -y &&\
apt clean && \
rm -rf \
/config/.cache \
/var/lib/apt/lists/* \
/var/tmp/* \
/tmp/*
# ports and volumes
EXPOSE 3000
VOLUME /config