-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Dockerfile
80 lines (71 loc) · 2.45 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
# x11docker/deepin
#
# Run deepin desktop in a Docker container.
# Use x11docker to run image:
# https://github.com/mviereck/x11docker
#
# Run deepin desktop with:
# x11docker --desktop --gpu --init=systemd --cap-default --hostipc -- --cap-add=SYS_RESOURCE --cap-add=IPC_LOCK -- x11docker/deepin
# Note that the setup to run deepin desktop includes several options degrading container isolation. Do not use if security is a concern.
#
# Run single application:
# x11docker x11docker/deepin deepin-terminal
#
# Options:
# Persistent home folder stored on host with --home
# Share host file or folder with option --share PATH
# Hardware acceleration with option --gpu
# Clipboard sharing with option --clipboard
# Language locale setting with option --lang [=$LANG]
# Sound support with option --pulseaudio
# Printer support with option --printer
# Webcam support with option --webcam
#
# See x11docker --help for further options.
FROM bestwu/deepin:panda
ENV LANG en_US.utf8
ENV PATH /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/games:/usr/games
# choose a mirror
#RUN echo "deb http://packages.deepin.com/deepin/ panda main non-free contrib" > /etc/apt/sources.list
RUN echo "deb http://mirrors.kernel.org/deepin/ panda main non-free contrib" > /etc/apt/sources.list
#RUN echo "deb http://ftp.fau.de/deepin/ panda main non-free contrib" > /etc/apt/sources.list
# basics
RUN rm -rf /var/lib/apt/lists/* && \
apt-get clean && \
apt-get update && \
apt-mark hold iptables && \
apt-get dist-upgrade -y && \
apt-get -y autoremove && \
apt-get clean && \
env DEBIAN_FRONTEND=noninteractive apt-get install -y \
dbus-x11 \
libxv1 \
locales-all \
mesa-utils \
mesa-utils-extra \
procps \
psmisc
# deepin desktop
RUN env DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
dde \
at-spi2-core \
gnome-themes-standard \
gtk2-engines-murrine \
gtk2-engines-pixbuf \
pciutils
# additional applications
RUN env DEBIAN_FRONTEND=noninteractive apt-get install -y \
deepin-calculator \
deepin-image-viewer \
deepin-screenshot \
deepin-system-monitor \
deepin-terminal \
deepin-movie \
gedit \
oneko \
sudo \
synaptic
# chinese fonts
RUN env DEBIAN_FRONTEND=noninteractive apt-get install -y \
fonts-arphic-uming
CMD ["startdde"]