-
Notifications
You must be signed in to change notification settings - Fork 3
/
Dockerfile
26 lines (22 loc) · 1.24 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
FROM x86/ubuntu:2004
MAINTAINER zeroway
# way to using tuna mirror
#RUN echo 'Acquire::https::Verify-Peer "false";' > /etc/apt/apt.conf
#RUN echo 'Acquire::https::Verify-Host "false";' >> /etc/apt/apt.conf
#RUN sed -i "s@http://.*archive.ubuntu.com@https://mirrors.tuna.tsinghua.edu.cn@g" /etc/apt/sources.list
#RUN sed -i "s@http://.*security.ubuntu.com@https://mirrors.tuna.tsinghua.edu.cn@g" /etc/apt/sources.list
# using label tag to descript some info
#LABEL usage="Usage goes to here."
RUN apt-get update && apt-get -y install software-properties-common
RUN DEBIAN_FRONTEND=noninteractive apt-get upgrade -y
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install xserver-xspice x11-xserver-utils
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get -y --no-install-recommends install xfce4
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get -y --no-install-recommends install tango-icon-theme xfce4-notifyd xfce4-terminal xubuntu-icon-theme dbus-x11 sudo
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get -y --no-install-recommends install umlet
ADD spiceqxl.xorg.conf /etc/X11/
ADD resolution.desktop /etc/xdg/autostart/
ADD keyboard.desktop /etc/xdg/autostart/
ADD run.sh /root/
VOLUME ["/home"]
EXPOSE 5900
CMD /root/run.sh