-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathDockerfile
62 lines (56 loc) · 1.86 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
# x11docker/mate
#
# Run Mate desktop in docker container.
# Use x11docker to run image.
# Get x11docker from github:
# https://github.com/mviereck/x11docker
#
# Examples: x11docker --desktop x11docker/mate
# x11docker x11docker/mate caja
#
# Options:
# Persistent home folder stored on host with --home
# Shared host file or folder with --share PATH
# Hardware acceleration with option --gpu
# Clipboard sharing with option --clipboard
# ALSA sound support with option --alsa
# Pulseaudio sound support with option --pulseaudio
# Language setting with --lang [=$LANG]
# Printing over CUPS with --printer
# Webcam support with --webcam
#
# See x11docker --help for further options.
FROM debian:bullseye
RUN apt-get update && \
env DEBIAN_FRONTEND=noninteractive apt-get install -y \
dbus-x11 \
procps \
psmisc && \
env DEBIAN_FRONTEND=noninteractive apt-get install -y \
xdg-utils \
xdg-user-dirs \
menu-xdg \
mime-support \
desktop-file-utils && \
env DEBIAN_FRONTEND=noninteractive apt-get install -y \
mesa-utils \
mesa-utils-extra \
libxv1
# Language/locale settings
# replace en_US by your desired locale setting,
# for example de_DE for german.
ENV LANG en_US.UTF-8
RUN echo $LANG UTF-8 > /etc/locale.gen && \
env DEBIAN_FRONTEND=noninteractive apt-get install -y \
locales && \
update-locale --reset LANG=$LANG
# Mate desktop
RUN env DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
mate-desktop-environment-core && \
env DEBIAN_FRONTEND=noninteractive apt-get install -y \
fortunes \
mate-applets \
mate-notification-daemon \
mate-system-monitor \
mate-utils
CMD ["mate-session"]